mavlink: use static_cast instead of C-style cast
mavlink: use static_cast instead of C-style cast

PX4/Firmware,acfloria/Firmware,acfloria/Firmware,krbeverx/Firmware,krbeverx/Firmware,PX4/Firmware,PX4/Firmware,krbeverx/Firmware,acfloria/Firmware,acfloria/Firmware,PX4/Firmware,acfloria/Firmware,acfloria/Firmware,PX4/Firmware,krbeverx/Firmware,krbeverx/Firmware,krbeverx/Firmware,PX4/Firmware,PX4/Firmware,acfloria/Firmware,krbeverx/Firmware