Update the "sync to maven central" CI job so that it can be rerun if necessary. We now first check if artifacts are already published before triggering the sync from Bintray. Closes gh-16866