Revert "Improve checks for appdata-validate and desktop-file-validate"

This reverts commit 54e756cc09017ac74d79e03c8532b89b801f1e11.
build: use better check for *-validate