Merge pull request #9646 from PatrickFerry/sw-textureencoder-alignedwidth SW: Fix alignedWidth in TextureEncoder