Collect unused GOBs

Resolving bug#1989.
Define new GOB_MARK and GOB_USED GC flags.
Use the resv field to store GC flags.