Modernize codebase by replacing NULL with nullptr
am: 00892ee0e7

Change-Id: I94ac9cb8dd0623cdbbe24c493c797ac0917165e4