plugins: Use mavlink_msg_*_pack_chan() functions

Fix #43.