Do not include <metadata> for pre-0.4 metadata
Fix generation of AppStream 0.41 metadata

This quirk is required by GNOME Software 3.12.x -- later versions use
libappstream-glib which uses the standardized per-application priority value.