Fix validation when adding static columns

patch by slebresne; reviewed by iamaleksey for CASSANDRA-7730