Modernize codebase by replacing NULL with nullptr
am: 3712b27403

Change-Id: Icca23c8eb87bb826bf1d603e3e8bac9f4a3d05d1