[GHC] #8648: Initialization of C statics broken in threaded runtime