Only run `test-with-guile-module' when pthread support is built.