Fix mismatching allocation/deallocation in AutoPatcher/CreatePatch.cpp

This PR fixes a mismatching allocation/deallocation of a char array in
the AutoPatcher code:

CreatePatch.cpp:529: *out = new char[*outSize];
CreatePatch.cpp:579: free(out);

Mixing up new/delete and malloc/free is undefined behaviour and should be
avoided.