Makefile.am: Add -d to AM_YFLAGS

We need the -d flag to create the header files too.

Signed-off-by: Gergely Nagy <algernon@madhouse-project.org>