config/validate: fix line number for header check