AP_Vehicle: added APM_BUILD_TYPE() macro

this makes checking build type less fragile
AP_NavEKF: use APM_BUILD_TYPE() macro