[gem5] Expose IsStatic() to AbstractMemory.