avutil/tests: run the cpu_init.c test conditionally on HAVE_THREADS