[PATCH 5.4 154/355] lib/xz: Avoid overlapping memcpy() with invalid input with in-place decompression