[libsanitizer] Pass an explicit template to mktemp. Running mktemp without a template doesn't work on Darwin.