cbson: cleanup some warnings.