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

Closes #17773.