ibmpex: add endian annotation to extract_data() helper