Fix regression on wrapping offsets on 32bit