misc/build-clients: remove get_version function

It isn't used anymore.