soc/runtime: find ELF entry point

This allows multiple functions to be defined, with the main one not necessarily starting at 0.