Modified MAVLINK_MAX_PAYLOAD_SIZE

Linked the maximum payload size to the dialect. Improves memory useage