implement enterCostCentreThunk
remove unsed var
save/restore CCS while evaluating scrutinee of case expressions