autogen.sh: also look for automake 1.14

(cherry picked from commit 9a6b42a4fd26b4f394e0b8f5ac58127a76c98c58)
(cherry picked from commit 3ce15deed94df58ddb4b1e4c9d7f3f713812447f)