Update core pattern to use /tmp/cores instead of cwd.
This is to avoid security issues with setsuid coredumps, and avoid
core dumps accumulating in unlikely places.