[PATCH 6.14 052/449] pm: cpupower: bench: Prevent NULL dereference on malloc failure