[rotorcraft] refactor guidance_h_ref and fix route_ref if both argumens for atan2 are zero

not really sure what the max_ref values should be in the case where the route_ref angle can't be computed...
set to max on both axes for now...

see also issue #521