Use fork1() not fork for G_THREADS_IMPL_SOLARIS. (#136971, Sebastian