[PATCH 4.14 092/251] lib/xz: Avoid overlapping memcpy() with invalid input with in-place decompression