Modernize codebase by replacing NULL with nullptr
am: 277f977a8e

Change-Id: I913c656e0ba7f6e26cd7735988570286077effb5