wined3d: Introduce a get_pointsize_minmax() function.