Fix visibility of g_linked_ptr_mutex on Windows

Reverts some changes in b8ed00bd642971877e1dfda6e0815d7211a7ace2