Add support for enums in the backend

This basically involves wiring up the existing ACC_ENUM bit to a new
modifier flag.