Implement getInterfaceVersion for C++
am: 22d4cfc8fb

Change-Id: I183f984ce6d7a2fd788a919b1d4554224f13b614