types: remove extra comma on the last enum value