[][openwrt][mt7988][pce][fix out-of-bound array access]

[Description]
Fix potential out-of-bound array access.
The CDRT can only be accessed within 1 ~ 31 while the CDRT find function's
error checking mechanism is checked the FE_MEM_CDRT_MAX_INDEX which is 96.
Ajust the error checking mechanism so that we can ensure the input is
within 1 ~ 31

[Release-log]
N/A

Change-Id: I85565f16e641800baee6dcfdcf8697ac64625d20
Reviewed-on: https://gerrit.mediatek.inc/c/openwrt/feeds/mtk_openwrt_feeds/+/8263662
1 file changed