Set job label for targets registered through the API

This is set when jobs are statically registered (see
[retrieval/targetmanager.go](https://github.com/prometheus/prometheus/blob/master/retrieval/targetmanager.go#L92)), and should be set here, too.