[PATCH AUTOSEL 4.9 22/33] lib/xz: Avoid overlapping memcpy() with invalid input with in-place decompression