Use an improved implementation for circular shift. Differential Revision: https://developer.blender.org/D6677