[PATCH 4.9 036/310] irqchip/mbigen: Fix the clear register offset calculation