Moved struct and enum type masks into sym.h (more visible alongside that of integral types)
Qualified references to the basic symbol in type as const, wasn't being modified anyway
Added rudimentary debug info to asm backend, simplified a little