Check for out-of-range pointer difference.