erofs-utils: optimize write_uncompressed_file_from_fd()
Utilize copy offloading to speed up copying data from the source
filesystem to the target EROFS filesystem.
This method improves build speed by approximately 9% (tested with
Linux 5.4.140 source code dataset).
Reported-by: Daan De Meyer <daan.j.demeyer@gmail.com>
Closes: https://lore.kernel.org/r/CAO8sHcmZZORnrJXA=QzmGkYNkNWn7M+amAK_DZ19-WL4kLUvpw@mail.gmail.com
Link: https://lore.kernel.org/r/20240623115932.2696312-1-hsiangkao@linux.alibaba.com
Signed-off-by: Gao Xiang <hsiangkao@linux.alibaba.com>