LegacySupport: fix compile error for some devices

Some build configurations were failing to implicitly static cast and use
the sp<> comparison operator here, resulting in this error:
system/libhidl/transport/include/hidl/LegacySupport.h:45:53: error: invalid operands to binary expression ('::android::hardware::Return< ::android::sp< ::android::hardware::audio::V5_0::IDevicesFactory> >' and 'nullptr_t')
    LOG_FATAL_IF(ExpectInterface::castFrom(service) == nullptr,

Bug: N/A
Test: builds now
Change-Id: Ie2e494a33f0ff576359361a46aea080a05ee0181
1 file changed