Add get/set methods to GainBucketEntry. Allow GBE to perform the
conversion between the gain cost double and the integer gain index.