x86: Prepare the affinity common functions for taking struct irq_data *