build: generate a installed version header
Renames the current version function and define to dav1d_version_vcs() and DAV1D_VERSION_VCS. Fixes #241 (closed).
The generated version.h is included as "dav1d/version.h" to avoid errors with a stale include/version.h in a build dir.
Edited by Janne Grunau