Behavioral changes in GC.

1. Remove the potentially unnecessary allocation counter. Use counter
   from generation 0 instead.
2. Add CMake option to enable debugging messages from GC.