Small change in GC.

Now the garbage collector also check reference registers: er1, er2, er3
and er4.