[asan] Define LSan annotations as no-ops if leak detection is not supported.