Bug 854536 Remove GRE_MODULE from Makefile.in's (port bug 852534 and rules.mk of bug 817076). r=Callek