[meson] fix version header custom target for meson >= 0.57

Apparently custom_target no longer supports the @CURRENT_SOURCE_DIR@
and @SOURCE_DIR@ substitutions.
We now locate the script using find_program().
Since meson.project_source_dir() is not available in older meson version
there is a version check.
13 jobs for io_uring_network in 1 minute and 5 seconds (queued for 1 second)