Match mavlink_system_t.nav_mode size to allowed size in heartbeat msg (32bits).

Heartbeat message uses 32 bits for "custom_mode" which is aka "nav_mode."
<field type="uint32_t" name="custom_mode">A bitfield for use for autopilot-specific flags.</field>

Thanks,
-Max