AP_GPS: auto-switch primary GPS based on status and number of satellites