Avoid compiler warning when global-motion is off. Change-Id: Ie6a0d3e4efc0e06b263e8c8c0c0dc153738c3804