[ARM] Fix get_user when passed a const pointer