Copter: improve check of frame type to catch spelling errors