AP_Math: prevent transpose usage error in matrix API
AP_Math: add const to quaternion API
AP_NavEKF: fixed build for non-Linux