Implement GHC.Ref.deRef.