[PATCH 6.8 045/336] octeontx2-af: avoid off-by-one read from userspace