configure.ac: fix build with automake-1.13

Replace long obsolete AM_CONFIG_HEADER that makes automake-1.13 to
error out with AC_CONFIG_HEADERS.

Signed-off-by: Marko Lindqvist <cazfi74@gmail.com>