ci: skip db-backcompat check if branch is out of date
Created by: keegancsmith
Older branches will fail leading to a PR requiring rebasing. Additionally longer lived branches (release branches) will fail. We should avoid this check in those cases. If this PR does indeed contain a failure, we will pick it up in the master CI run.
Part of https://github.com/sourcegraph/sourcegraph/issues/12302