[Git][ghc/ghc][master] testsuite: Use mkWeakMVar in memo001/memo002