Fix confusion of stride_t vs ptrdiff_t for platforms where they're differen