ld: fix C23 issue in vers7 test

This test is UNSUPPORTED on arm64 with GCC 15 (which defaults to -std=gnu23)
because it now prototypes "no arguments".

	PR ld/32546
	* ld-elfvers/vers7.c: Fix function definitions for C23.
1 file changed