Add constants for trait object fields, and replace "magic numbers" in GEPi() calls with them

I don't know how one would write a separate test for this sort of thing. Building the compiler, and `make check` worked, which should mean I didn't screw anything.