Replace use of NULL by C++11 nullptr.