Merge "Fix ubsan left shift warnings in warped motion library" into nextgenv2