Ensure trimPath{Start,End,Offset} wraparound 1 correctly
Ensure trimPath{Start,End,Offset} wraparound 1 correctly

This adds support for the case where trimPathStart is
greater than trimPathEnd and the case where trimPathOffset
causes the path to wraparound 1.

romannurik/AndroidIconAnimator,romannurik/AndroidIconAnimator