[PATCH 5.10 150/563] x86/uaccess: Move variable into switch case statement