Copter: minor user hooks cleanup

Only define and call functions if the appropriate #define in
APM_Config.h has been added