Adapt to revised GammaLib interface.