Fix logic in buildinfo.sh for TARGET_INIT_VENDOR_LIB

Change-Id: Ia8a2d79bb05635f76740a30228934be953e3cf55