Support AppData validation files

If using the standard appdata-xml.m4 macros for building and validating
AppData files, a .valid file will be generated for each .appdata.xml
file. Add support for this in git.mk.