Stefan Dösinger : wined3d: Improve volume size calculation.