[PATCH 6.6 142/196] coresight: trbe: Return NULL pointer for allocation failures