Guild Mortgage’s second-quarter earnings suggest that a high share of purchase loans won't necessarily be enough to protect lenders from the most challenging and volatile mortgage market in years. They'll have to cut costs and grab opportunities as they emerge.