build: Write `jl_codegen_hash.inc` through a temp file (#63956)
With `make -j julia-src-release julia-src-debug`, both src sub-makes
regenerate `jl_codegen_hash.inc` at the same time and share its
intermediate files. One of them can write an empty header, and
`objcache.cpp` then fails with `'JL_CODEGEN_SRC_HASH' was not
declared`. Name all intermediates after a `mktemp` file and `mv` the
results into place, as the other generated files do.
Seen in libjulia_jll CI:
https://buildkite.com/julialang/yggdrasil/builds/33969#01a15485-029d-4e18-be18-bc2c3b0a2dfe
Assisted-by: Claude Code (Opus 5.5)