Another attempt at framebuffer size estimate changes

This needs testing, and probably there are things that don't work.  I tried to expand the logic that guesses at the size of a framebuffer to cover the cases I could see.

This fixes the broken games in #6093 for me.  It does make the Valkyrie Profile video correct as well, but I'm not sure if there's still an issue there since videos maybe ought to "prompt" the resizing code... this can mean framebuffers remain a bit larger, though, hmm.

@solarmystic, if you could test some games with this it'd be a real help.

-[Unknown]