media_paths: Support "naked" patches
If a patch is generated with git diff, the first --- is not properly handled.
Now that we are at it, also support patches that go from /dev/null to media file.
Signed-off-by: Ricardo Ribalda ribalda@chromium.org