move odb_* declarations out of git-compat-util.h