drivers: intc: plic: fix the calculation of trig register

trig register should be independent of the `riscv,max-priority` property.

Signed-off-by: Yong Cong Sin <ycsin@meta.com>
1 file changed