Add -g -fno-omit-frame-pointer when compiling tests with sanitizers