[PATCH] compat: fix uaccess handling