Interpreter ELF failures were previously reported and terminated inside load_elf_image(), so LATX callers could not attach the selected runtime context.
Return a success value and optionally propagate Error objects while preserving the existing fatal behavior at unchanged call sites. Release the mmap lock before returning an error. Also centralize the interp_prefix declaration in linux-user/qemu.h and remove KZT-local duplicates.
Factor runtime-prefix eligibility into one path helper and expose the configured candidate path for later diagnostics without changing path() fallback behavior. This commit intentionally does not change user-visible diagnostics.
Signed-off-by: Hanlu Li <heuleehanlu@gmail.com>