Replace remaining non-test use of std::min with thrust::min in max_grid_size
Don't need <thrust/extrema.h> as more specific <thrust/detail/minmax.h>
is already included providing thrust::min.
Merge pull request #495 from dfontainenvidia/1.7.2

 Replace remaining non-test use of std::min with thrust::min in max_grid_size