Change elf header offset bound checking

Variable elf_header_size is in fact the maximum of elf header size
Merge pull request #18 from tiffanyb/elf_offset_check

Fix Issue #17