[cleanup] Remove trailing comma in enum

While c++11 allows a trailing comma in enums,
we should avoid this because it provokes
gcc-4.4 warnings.