Makefile.am: remove AMLOCAL_AMFLAGS

ACLOCAL_FLAGS is not cool anymore, so don't listen to it.
2.99: add check for ACLOCAL_FLAGS mention

Add a twoninetynine check for ACLOCAL_FLAGS appearing in Makefile.am.