GET_MODE_SIZE always does an array lookup. This is inefficient for mode
constants; in this case, it would be better to compare for equality for each mode and then decide on the actual size. When workingh with mode macros, this
would allow conditionals to be folded to 0 or 1, and thus save both compiler code
size and compilation time.