fix bug in elf_executable_data_by_symbol

when the for loop ends there may still be a symbol left to yield
if offset-soff > 0 so we need to check and yield if it exists.