[PATCH 6.6.y] xfrm: state: fix out-of-bounds read during lookup