[PATCH 6.12 007/122] pktgen: Avoid out-of-bounds access in get_imix_entries