[Bug 289641] lock-up on Qt app exit from g++ miscompiling pthread cleanup code