update_engine: Replace NULL with nullptr

Replaced the usage of NULL with nullptr. This also makes it possible to
use standard gtest macros to compare pointers in Update Manager's unit tests.
So, there is no need in custom UMTEST_... macros which are replaced with the
gtest macros (see change in update_engine/update_manager/umtest_utils.h):

UMTEST_ASSERT_NULL(p)      => ASSERT_EQ(nullptr, p)
UMTEST_ASSERT_NOT_NULL(p)  => ASSERT_NE(nullptr, p)
UMTEST_EXPECT_NULL(p)      => EXPECT_EQ(nullptr, p)
UMTEST_EXPECT_NOT_NULL(p)  => EXPECT_NE(nullptr, p)

BUG=None
TEST=FEATURES=test emerge-link update_engine
     USE="clang asan" FEATURES=test emerge-link update_engine

Change-Id: I77a42a1e9ce992bb2f9f263db5cf75fe6110a4ec
Reviewed-on: https://chromium-review.googlesource.com/215136
Tested-by: Alex Vakulenko <avakulenko@chromium.org>
Reviewed-by: Alex Deymo <deymo@chromium.org>
Commit-Queue: Alex Vakulenko <avakulenko@chromium.org>
diff --git a/dbus_service.cc b/dbus_service.cc
index a8e1dcd..36ee494 100644
--- a/dbus_service.cc
+++ b/dbus_service.cc
@@ -97,9 +97,9 @@
       G_OBJECT_CLASS_TYPE(klass),
       G_SIGNAL_RUN_LAST,
       0,  // 0 == no class method associated
-      NULL,  // Accumulator
-      NULL,  // Accumulator data
-      NULL,  // Marshaller
+      nullptr,  // Accumulator
+      nullptr,  // Accumulator data
+      nullptr,  // Marshaller
       G_TYPE_NONE,  // Return type
       5,  // param count:
       G_TYPE_INT64,
@@ -117,7 +117,7 @@
 
 UpdateEngineService* update_engine_service_new(void) {
   return reinterpret_cast<UpdateEngineService*>(
-      g_object_new(UPDATE_ENGINE_TYPE_SERVICE, NULL));
+      g_object_new(UPDATE_ENGINE_TYPE_SERVICE, nullptr));
 }
 
 gboolean update_engine_service_attempt_update(UpdateEngineService* self,