[Linux-stable-mirror] [PATCH stable backport 4.14] x86/apic/vector: Fix off by one in error path