[PATCH 6.6 050/301] octeontx2-af: avoid off-by-one read from userspace