Fix incorrect error message during Lua archiving
The archiving code was showing the table's key instead of the value when trying to archive a function/coroutine/invalid userdata.
The archiving code was showing the table's key instead of the value when trying to archive a function/coroutine/invalid userdata.