[PATCH 6.12 047/393] pm: cpupower: bench: Prevent NULL dereference on malloc failure