NCV.cu: include <algorithm>

It's needed for `std::max`.