Fix kotlin nullable errors in CompanionDeviceMultiDeviceTests

Fix kotlin nullable errors that were exposed by setting the retention
of android.annotation.NonNull and android.annotation.Nullable to
class retention.

Bug: 294110802
Test: builds
Change-Id: I0b03abc8f02007e90a3bc6856a7f9560aac263bd
1 file changed