Merge pull request #5273 from dlax/parse-diff-without-extended-headers patch_parse: handle patches without extended headers