build: Use AM_C[PP]FLAGS instead of INCLUDES

INCLUDES is deprecated. This fixes building with AUTOMAKE_OPTIONS=-Wall.

https://bugzilla.gnome.org/show_bug.cgi?id=741103