[PATCH 6.12 800/826] perf/arm-cmn: Ensure port and device id bits are set properly