[PATCH openEuler-1.0-LTS 004/111] genirq/matrix: Prevent allocation counter corruption