Remove trailing commas after last element in enum declarations.

This makes compilation with the -pedantic option without warnings possible.