build: 'make distcheck' should run configure with --without-leg

this avoids creating tarballs without prebuilt parser-grammar.c