x86: Allow pirq_init() to return an error