glr2.cc: pass location by const ref to yyglrShift