Merge pull request #12287 from Tilka/blending VideoCommon: copy software renderer logic for blend mode priorities