Replace sh_size/sh_entsize with NUM_SHDR_ENTRIES