Copter: remove unused flags and consolidate ap and ap_system