Fixed various memory leaks and compiler warnings
bump libmongoc in my fork