Fix attribute error in TemporalMemoryMonitorMixin

Fixes https://github.com/numenta/nupic/issues/1591