format-patch: check that header line has expected format