x86: prevent dereferencing non-allocated per_cpu variables