xfrm: Move the test on replay window size into the replay check functions