Resolve real executable with /proc/*/exe when using ELFLOADER

When using the elfloader option, reading /proc/*/exe returns the path to the
dynamic linker instead of the real executable, breaking software that relies
on that behaviour such as OpenJDK.