Trusty: no need to use libbase

Bug: 302723053
Test: build trusty in its own repo
Change-Id: Ib42aaf424e88a3127ff64269b47e6bf7b18c39bc
diff --git a/app/cast_auth_impl.cc b/app/cast_auth_impl.cc
index da15b42..cfa8a0f 100644
--- a/app/cast_auth_impl.cc
+++ b/app/cast_auth_impl.cc
@@ -242,13 +242,12 @@
             hset, ICastAuth::PORT().c_str(),
             std::make_shared<const android::RpcServerTrusty::PortAcl>(port_acl),
             MESSAGE_MAX_BYTES);
-    if (!srv.ok()) {
-        TLOGE("Failed to create RpcServer (%d)\n", srv.error());
+    if (srv == nullptr) {
         return EXIT_FAILURE;
     }
 
     android::sp<CastAuthImpl> cast_auth = android::sp<CastAuthImpl>::make();
-    (*srv)->setRootObject(cast_auth);
+    srv->setRootObject(cast_auth);
 
     return tipc_run_event_loop(hset);
 }