CtsMedia TestUtils: Handle cases where mainline module isn't installed

isMainlineModuleFactoryVersion() used to throw NameNotFoundException
if mainline module wasn't installed and this exception thrown leads to
a test failure on aosp builds which do not have com.google.* modules.
Now, instead of throwing an exception, it returns true if the module
is not found.

Bug: 227697897
Test: atest VideoDecoderPerfTest on aosp builds
Change-Id: I32ab63bcbff1b6afe2861dea5c6e04fe60e5fec9
1 file changed