build: Generate gdk.gresource.xml in sorted order
The order in which the resources get embedded matters for reproducible builds. In the Meson build system, gen-gdk-gresources-xml already sorts the list, but in the Autotools build system they were previously taken in readdir() order.