mem: Check return value of checkFunctional in SimpleMemory
mem: Check return value of checkFunctional in SimpleMemory

Simple fix to ensure we only iterate until we are done.

hoangt/tpzsimul.gem5,hoangt/tpzsimul.gem5,hoangt/tpzsimul.gem5,hoangt/tpzsimul.gem5,hoangt/tpzsimul.gem5,hoangt/tpzsimul.gem5,hoangt/tpzsimul.gem5