CCOpt: add get_lazy convenience function

A lazy version of get, for cases where creating the default value could be expensive.