removed helper cmake macro and don't use deprecated COMPILE_FLAGS anymore.
This is a first attempt at starting to clean up the cmake scripts.
It replaces manual manipulation of (deprecated) COMPILE_FLAGS with target_compile_options and
target_compile_definitions instead.
I don't have a SYCL/HIP version available here, so I haven't tested that part.
Q: Should we (in a separate MR) define an interface target for the common test flags and then just target_link_libraries with those instead of adding all these options inside ei_add_test_internal?