Ignore nested interface is nullptr.

If a function call returns a pointer to a HIDL proxy and that pointer is
nullptr, ignore do not register it as an opened interface.

Test: SANITIZE_TARGET="address coverage" make vts -j64 && vts-tradefed
run commandAndExit vts --skip-all-system-status-check --primary-abi-only
--skip-preconditions -l VERBOSE --module
VtsHalAudioEffectV2_0IfaceFuzzer
Merged-In: I392618ae624b0d450104416dba366b2aefb348e0
Change-Id: I392618ae624b0d450104416dba366b2aefb348e0

(cherry picked from commit d4168dc56e524668218c04a079ee7a800a8368bd)
1 file changed