IRPC test: use version from RpcHardwareInfo

Check against version of the interface reported by the HAL rather than
the one from generated code.

AIDL interface are meant to be backwards compatible. Having the HAL
report its version dynamically makes it easier to maintain legacy
behavior while evolving the interface, e.g. we bump IRPC to v3
across our codebase, but devices that already shipped may still behave
as v1/2 devices.

Bug: 235265072
Test: VtsHalRemotelyProvisionedComponentTargetTest

Change-Id: I49e3a09723590ac1a7c432b11450c1438563c787
1 file changed