CMake: update testing-options

Use conventional BUILD_TESTING variables rather than NO_TESTING option.