Fix clock driver: irq mask for irq handler registration was random