Remove the #[allow(non_uppercase_statics)] attribute from inside bitflags!

Closes #17773.
Sure; I’ve already renamed them locally. I’m just making sure I didn’t miss out on anything…