Copter: check target of set-mode request from GCS

Issue discovered and fix contributed by Deadolous