Merge pull request #6316 from stenzek/videocommon-viewport Move guest viewport conversion to VideoCommon