Convert majority of enums in compiler to const enums

There are still few regular enums lurking around in services layer like `TokenClass` or `MatchKind` - existing code uses reverse mapping. Since these enums are small - we can keep them.

Diff in size between LKG (compiler that support const enums) and bootstrapped compiler (with const enums inlined) - ~46 KB