MULE-6965 - fixing MuleMessage serialization code when payload is byte array
(cherry picked from commit edb17c6c616671d5f6ded4a5ae1c4bc06fceab4a)