memory: fix memory operation tracker

Link: https://github.com/GeneAssembly/biosal/issues/710
Signed-off-by: Sébastien Boisvert <boisvert@anl.gov>