Merge pull request #3764 from libgit2/ethomson/cmake_pc cmake: include threading libraries in pkg-config