Fix some random register clobbering in takeMVar/putMVar