Add a button on the texture viewer that flips the tex in Y

* Useful for systems that render OpenGL upside down with a final flip,
  for example.
Fetch current framebuffer bindings per-draw
Determine creationflags throughout initial read pass
Fix typo
GetByteSize respects align parameter, calculate for textures
Return correct ResourceFormat for GL depth formats
Fetch width/height/depth for replay side textures (fake BB etc)
GetTexture and GetBuffer are fully implemented now
move RDCBREAK() OS-implementation from inline function to macro

* It's a little messier as it's easier for the os-specific header to not
  define it and get confusing errors, but that's a one-time problem and
  having an extra function in a callstack and not showing source at the
  point of the RDCBREAK is annoying every time.