Copter: fix compile error for PX4 re Compass logging