autogen: use gnome-common

The hardcoded list of automake versions we have in here is lame, and
actually blew up lately in gnome-ostree since I'm trying to rebase to
Poky "Danny" which only has automake-1.12.