[PATCH 5.9 272/757] coresight: fix offset by one error in counting ports