lua: fix uninitialized var usage in luamp_encode_with_translation
`*type_out` was set to uninitialized value for `field->type == MP_EXT`.
This was introduced by commit 9f9142d6 ("box: cleanup on tuple encoding
failure")
Closes #9023
NO_DOC=bugfix
NO_CHANGELOG=not user-visible
(cherry picked from commit bbfaef3b)