The current code align MAX_IR_ENTRIE with the CONFIG_MAX_PT_IRQ_ENTRIE roundup to 2^n, there is an issue of the powerof2_roundup to calculate the macro, and the code style is very ugly when we use macro to fix it.
So this patch move the calculate and define of MAX_IR_ENTRIE to offline tool.