OptFlowPX4: fix compile error for APM