The original rule just checked the type, but this is actually only legal if it has a constant.
Since the legalizer isn't supposed to be conditional, we have to check this.
(I'll probably have to make the bitfield extract combines I've been putting up AArch64-specific for now and come up with a way to check for custom legalization rules in the combiner.)