lindebugfs doesn't actually pass user pointers to the LinuxKPI
file_operations read/write methods as pseudofs uses in-kernel buffers
for VOP_READ and VOP_WRITE. simple_read_from_buffer() (used in
fops_str_read) already accounts for this by using memcpy() instead of
copy_to_user(). Make the same change in fops_str_write by using
memcpy() instead of copy_from_user().
Obtained from: CheriBSD
Fixes: 78e25e65bf38 ("lindebugfs: Add debugfs_create_str()")
Sponsored by: AFRL, DARPA