[PATCH 6.6 039/393] pm: cpupower: bench: Prevent NULL dereference on malloc failure