"Move" schema code generation macros into the schema compiler itself.

This removes all instances of the zero-length brand dependencies arrays (04a9c84).