preload configuration paths

Set some defaults when compiled with `THREADSAFE` so that we don't storm through the lazy initializers all at once.

Obsoletes https://github.com/libgit2/libgit2/pull/1720