Fix compile error with global-motion + highbitdepth Change-Id: If6b80d302a24db35f0e214865ddcdaae195dc032