Replaces uses of NULL with C++11's nullptr.