[PATCH 5.15 109/279] net/ipa: ipa_resource: Fix wrong for loop range