Enum support in luaffi backend