build: s/DISTCHECK_CONFIGURE_FLAGS/AM_DISTCHECK_CONFIGURE_FLAGS/

DISTCHECK_CONFIGURE_FLAGS is supposed to be used from command line, so
using the automake counterpart instead.