Modernize codebase by replacing NULL with nullptr
am: 805e361412

Change-Id: I76b88aa1022eacab5cdab9d53bd86c685131e46d