util/check-format.pl: Minor improvements of whitespace checks