Waiting too long to address debt and credit issues can shrink mortgage options—early guidance helps homeowners stay in control.