pe_sections_count: Change return type from uint32_t to uint16_t.
Be as precise as possible about type usage.