[motion] Added gcc 10 compile fix patch.