Revert "change MBX messages so that they are passed by value and no pointers"

This reverts commit 3293bc4a7c6338c075d915a7d6e08cf216210592.
Change MBX codecConfig messages to non-pointer values