[PATCH 6.1 33/81] platform/mellanox: mlxreg-lc: Fix logic error in power state check