[PATCH openEuler-1.0-LTS v2 443/771] io_uring: extract kmsg copy helper