Avoid undefined index when not tracking memory data.

Avoid undefined index warnings when generating the call graph while not tracking memory stats.