[PATCH 5.10 222/575] lib/xz: Avoid overlapping memcpy() with invalid input with in-place decompression