Modernize codebase by replacing NULL with nullptr
am: e353f25791

Change-Id: I5adfaf63f3492319d665a20a21db6ddf1667397d