Add an extra assert to KisInMemoryFrameCacheSwapper::frameDirtyRect
Not only should the frameId be in the map, the frame object should be valid as well.
CCBUG:409653