Copter: fix compiler warning from motorsync test