MULE-7034: MuleEvent is not serializable when using a JDBC inbound endpoint with a nested query
(cherry picked from commit e428bef)