[PATCH 5.15 092/276] coresight: trbe: Return NULL pointer for allocation failures