fix(tests/util/memory): remove reference to deleted function

Signed-off-by: Leonardo de Moura <leonardo@microsoft.com>