softgpu: Keep track of frame dirty for frameskip.

But only when frameskip is enabled.  Let's always draw in case of pixel
poking when it's off.
Merge pull request #4850 from unknownbrackets/softgpu

softgpu: Keep track of frame dirty for frameskip