cmake: Support running the tests with AddressSanitizer