g13: Fix pointer wrap check.