[PATCH 4.4,4.9] x86/apic/vector: Handle legacy irq data correctly