[PATCH 6.1 050/196] coresight: trbe: Prevent overflow in PERF_IDX2OFF()