Allow non_uppercase_statics for format! statics

Closes #9631