[compiler-rt] fix failing debug_locate.cc test due to a leak

New test from r218481 fails on Linux due to LeakSanitizer reporting a leak, this patch frees the memory properly.