[PATCH V3 05/10] x86/entry: Pass irqentry_state_t by reference