build: install mongoc-thread.h as required by compat.