Emit the correct kind of error for an eliminated getfield
I meant to do this when I implemented the codegen, but looks like
that never happened. We use a special symbol (##getfield##) to
indicate that an error is an UndefRefError rather than an
UndefVarError. Otherwise however, we use the same machinery
as undef var errors.