Add utility functions to DynamoRIO's CMake UNIX library to detect whether both the compiler and the processor support AVX or AVX-512. The queries are intented to be used when generating tests, e.g. by selectively compiling tests with AVX or AVX-512 support.
Issue: #1312