fix potential EnergyCommodity::secondaryCostAmounts_ leak

each time you call EnergyCommodity::calculateSecondaryCostAmounts()