gerrit_plugin: Allow to co-exist in tree and standalone plugins

Expose variable for plugin API that can be used from plugin build. The
path to plugin API artifacts is different between in tree and standalone
mode. To support the build that works for both mode, the plugin API vars
can be used to reference the plugin API. That way this works for both
modes: in gerrit tree and standalone.

Change-Id: I76776c52fb6050f210d5fe54aedc56ace7ff86ee
1 file changed