[][kernel][common][app][Fix Coverity issue for the regs utility]

[Description]
Fix Coverity issue for the regs utility.

Without this patch, the coverity might detect ERR33-C warnings.

[Release-log]
N/A


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