Fix v8 patch's line number is not align with content

The previous changing of the patch add code lines to
the contents of two files without increasing the line
number of the code block in patch file.
Which leads to the patching is missing the last line
of both files.