dxva2: Factor aligning of the dimension into a function
dxva2: reduce base alignment back to 16, and only increase MPEG-2 to 32.