[PATCH 5.15 228/846] x86/uaccess: Move variable into switch case statement