x86: Unify copy_from_user() size checking