greg: fix DEBUG, add missing type Variable

stabilize greg bootstrap (touch syn/greg.c or git checkout syn/greg.c on errors)