commander, mavlink: fixed base_mode and custom_mode in mavlink