[PATCH OLK-5.10] octeontx2-af: avoid off-by-one read from userspace