c/version-substvars: Ignore ":any" qualifier

Signed-off-by: Niels Thykier <niels@thykier.net>