gallium: standardize on stride instead of pitch in the interface