AP_BattMonitor: fixed example build
AP_NavEKF: fixed return of offset in getVariances()