Add c-api methods to destroy global_settings and object settings

Note that one does not normally need to do this since they are consumed by the converter object,
however if you like to keep your objects in a unique_ptr until they are consumed this is for you