Fix a crash in G_SetHumanBuildablePowerState.