aura-x11: Fix cursor flickering for some custom cursors.
aura-x11: Fix cursor flickering for some custom cursors.

It turns out X can't handle large custom cursors very well. The issue
seems to be that if the width or height is larger than 64, then there
are some occasional flickering issues. This becomes an issue especially
when larger device scale factors. So rescale the cursor image (and the
corresponding hot-spot) for these cases.

BUG=144152

Review URL: https://codereview.chromium.org/10915314

git-svn-id: de016e52bd170d2d4f2344f9bf92d50478b649e0@157185 0039d316-1c4b-4281-b951-d872f2087c98

krieger-od/nwjs_chromium.src,hujiajie/pa-chromium,Chilledheart/chromium,littlstar/chromium.src,hgl888/chromium-crosswalk,anirudhSK/chromium,bright-sparks/chromium-spacewalk,crosswalk-project/chromium-crosswalk-efl,littlstar/chromium.src,markYoungH/chromium.src,crosswalk-project/chromium-crosswalk-efl,bright-sparks/chromium-spacewalk,chuan9/chromium-crosswalk,hgl888/chromium-crosswalk,junmin-zhu/chromium-rivertrail,hujiajie/pa-chromium,Just-D/chromium-1,Fireblend/chromium-crosswalk,Pluto-tv/chromium-crosswalk,PeterWangIntel/chromium-crosswalk,ltilve/chromium,patrickm/chromium.src,axinging/chromium-crosswalk,hgl888/chromium-crosswalk,zcbenz/cefode-chromium,Pluto-tv/chromium-crosswalk,PeterWangIntel/chromium-crosswalk,patrickm/chromium.src,mohamed--abdel-maksoud/chromium.src,ondra-novak/chromium.src,mogoweb/chromium-crosswalk,hgl888/chromium-crosswalk-efl,TheTypoMaster/chromium-crosswalk,Fireblend/chromium-crosswalk,TheTypoMaster/chromium-crosswalk,Pluto-tv/chromium-crosswalk,mohamed--abdel-maksoud/chromium.src,hujiajie/pa-chromium,pozdnyakov/chromium-crosswalk,timopulkkinen/BubbleFish,zcbenz/cefode-chromium,M4sse/chromium.src,ChromiumWebApps/chromium,anirudhSK/chromium,chuan9/chromium-crosswalk,timopulkkinen/BubbleFish,chuan9/chromium-crosswalk,junmin-zhu/chromium-rivertrail,Just-D/chromium-1,M4sse/chromium.src,dushu1203/chromium.src,junmin-zhu/chromium-rivertrail,dushu1203/chromium.src,Just-D/chromium-1,axinging/chromium-crosswalk,dednal/chromium.src,dednal/chromium.src,hgl888/chromium-crosswalk,dednal/chromium.src,Fireblend/chromium-crosswalk,ChromiumWebApps/chromium,mohamed--abdel-maksoud/chromium.src,hgl888/chromium-crosswalk-efl,timopulkkinen/BubbleFish,TheTypoMaster/chromium-crosswalk,Fireblend/chromium-crosswalk,zcbenz/cefode-chromium,markYoungH/chromium.src,hujiajie/pa-chromium,nacl-webkit/chrome_deps,fujunwei/chromium-crosswalk,PeterWangIntel/chromium-crosswalk,krieger-od/nwjs_chromium.src,bright-sparks/chromium-spacewalk,Fireblend/chromium-crosswalk,M4sse/chromium.src,M4sse/chromium.src,dednal/chromium.src,Chilledheart/chromium,ChromiumWebApps/chromium,M4sse/chromium.src,hgl888/chromium-crosswalk-efl,patrickm/chromium.src,ChromiumWebApps/chromium,jaruba/chromium.src,timopulkkinen/BubbleFish,fujunwei/chromium-crosswalk,dednal/chromium.src,jaruba/chromium.src,nacl-webkit/chrome_deps,axinging/chromium-crosswalk,chuan9/chromium-crosswalk,Chilledheart/chromium,anirudhSK/chromium,dednal/chromium.src,markYoungH/chromium.src,timopulkkinen/BubbleFish,pozdnyakov/chromium-crosswalk,M4sse/chromium.src,crosswalk-project/chromium-crosswalk-efl,axinging/chromium-crosswalk,Just-D/chromium-1,dushu1203/chromium.src,hgl888/chromium-crosswalk-efl,hgl888/chromium-crosswalk-efl,dushu1203/chromium.src,hgl888/chromium-crosswalk-efl,ltilve/chromium,dednal/chromium.src,PeterWangIntel/chromium-crosswalk,junmin-zhu/chromium-rivertrail,fujunwei/chromium-crosswalk,Fireblend/chromium-crosswalk,ltilve/chromium,krieger-od/nwjs_chromium.src,Jonekee/chromium.src,hujiajie/pa-chromium,ondra-novak/chromium.src,hgl888/chromium-crosswalk-efl,mogoweb/chromium-crosswalk,zcbenz/cefode-chromium,ondra-novak/chromium.src,Jonekee/chromium.src,hgl888/chromium-crosswalk,Pluto-tv/chromium-crosswalk,jaruba/chromium.src,dednal/chromium.src,pozdnyakov/chromium-crosswalk,ltilve/chromium,patrickm/chromium.src,nacl-webkit/chrome_deps,Jonekee/chromium.src,timopulkkinen/BubbleFish,M4sse/chromium.src,hgl888/chromium-crosswalk,axinging/chromium-crosswalk,hujiajie/pa-chromium,markYoungH/chromium.src,ChromiumWebApps/chromium,mohamed--abdel-maksoud/chromium.src,PeterWangIntel/chromium-crosswalk,markYoungH/chromium.src,anirudhSK/chromium,krieger-od/nwjs_chromium.src,littlstar/chromium.src,Pluto-tv/chromium-crosswalk,Fireblend/chromium-crosswalk,mogoweb/chromium-crosswalk,dushu1203/chromium.src,littlstar/chromium.src,Pluto-tv/chromium-crosswalk,mogoweb/chromium-crosswalk,axinging/chromium-crosswalk,Jonekee/chromium.src,ltilve/chromium,hujiajie/pa-chromium,dushu1203/chromium.src,ltilve/chromium,ChromiumWebApps/chromium,markYoungH/chromium.src,zcbenz/cefode-chromium,pozdnyakov/chromium-crosswalk,ChromiumWebApps/chromium,fujunwei/chromium-crosswalk,markYoungH/chromium.src,Pluto-tv/chromium-crosswalk,krieger-od/nwjs_chromium.src,ChromiumWebApps/chromium,hgl888/chromium-crosswalk-efl,jaruba/chromium.src,dednal/chromium.src,TheTypoMaster/chromium-crosswalk,mogoweb/chromium-crosswalk,chuan9/chromium-crosswalk,fujunwei/chromium-crosswalk,mogoweb/chromium-crosswalk,hgl888/chromium-crosswalk-efl,dushu1203/chromium.src,dushu1203/chromium.src,markYoungH/chromium.src,pozdnyakov/chromium-crosswalk,dednal/chromium.src,nacl-webkit/chrome_deps,anirudhSK/chromium,chuan9/chromium-crosswalk,Jonekee/chromium.src,zcbenz/cefode-chromium,TheTypoMaster/chromium-crosswalk,hujiajie/pa-chromium,Fireblend/chromium-crosswalk,Jonekee/chromium.src,mohamed--abdel-maksoud/chromium.src,mogoweb/chromium-crosswalk,pozdnyakov/chromium-crosswalk,Chilledheart/chromium,ondra-novak/chromium.src,patrickm/chromium.src,zcbenz/cefode-chromium,PeterWangIntel/chromium-crosswalk,pozdnyakov/chromium-crosswalk,mohamed--abdel-maksoud/chromium.src,ChromiumWebApps/chromium,mohamed--abdel-maksoud/chromium.src,dednal/chromium.src,bright-sparks/chromium-spacewalk,littlstar/chromium.src,ondra-novak/chromium.src,mohamed--abdel-maksoud/chromium.src,pozdnyakov/chromium-crosswalk,ltilve/chromium,nacl-webkit/chrome_deps,anirudhSK/chromium,Chilledheart/chromium,Chilledheart/chromium,chuan9/chromium-crosswalk,jaruba/chromium.src,bright-sparks/chromium-spacewalk,M4sse/chromium.src,junmin-zhu/chromium-rivertrail,littlstar/chromium.src,Chilledheart/chromium,anirudhSK/chromium,mogoweb/chromium-crosswalk,anirudhSK/chromium,nacl-webkit/chrome_deps,Just-D/chromium-1,axinging/chromium-crosswalk,timopulkkinen/BubbleFish,fujunwei/chromium-crosswalk,ChromiumWebApps/chromium,krieger-od/nwjs_chromium.src,Chilledheart/chromium,crosswalk-project/chromium-crosswalk-efl,ondra-novak/chromium.src,hujiajie/pa-chromium,timopulkkinen/BubbleFish,Fireblend/chromium-crosswalk,Jonekee/chromium.src,junmin-zhu/chromium-rivertrail,PeterWangIntel/chromium-crosswalk,mohamed--abdel-maksoud/chromium.src,junmin-zhu/chromium-rivertrail,axinging/chromium-crosswalk,axinging/chromium-crosswalk,crosswalk-project/chromium-crosswalk-efl,anirudhSK/chromium,fujunwei/chromium-crosswalk,dushu1203/chromium.src,fujunwei/chromium-crosswalk,mohamed--abdel-maksoud/chromium.src,crosswalk-project/chromium-crosswalk-efl,nacl-webkit/chrome_deps,hujiajie/pa-chromium,markYoungH/chromium.src,hgl888/chromium-crosswalk,krieger-od/nwjs_chromium.src,patrickm/chromium.src,zcbenz/cefode-chromium,timopulkkinen/BubbleFish,ChromiumWebApps/chromium,ondra-novak/chromium.src,fujunwei/chromium-crosswalk,ltilve/chromium,nacl-webkit/chrome_deps,hgl888/chromium-crosswalk,TheTypoMaster/chromium-crosswalk,bright-sparks/chromium-spacewalk,ChromiumWebApps/chromium,junmin-zhu/chromium-rivertrail,Just-D/chromium-1,dushu1203/chromium.src,patrickm/chromium.src,littlstar/chromium.src,axinging/chromium-crosswalk,pozdnyakov/chromium-crosswalk,anirudhSK/chromium,nacl-webkit/chrome_deps,patrickm/chromium.src,patrickm/chromium.src,junmin-zhu/chromium-rivertrail,timopulkkinen/BubbleFish,crosswalk-project/chromium-crosswalk-efl,dushu1203/chromium.src,crosswalk-project/chromium-crosswalk-efl,mogoweb/chromium-crosswalk,nacl-webkit/chrome_deps,jaruba/chromium.src,littlstar/chromium.src,Pluto-tv/chromium-crosswalk,Jonekee/chromium.src,Just-D/chromium-1,Just-D/chromium-1,hgl888/chromium-crosswalk,ondra-novak/chromium.src,jaruba/chromium.src,krieger-od/nwjs_chromium.src,Just-D/chromium-1,junmin-zhu/chromium-rivertrail,krieger-od/nwjs_chromium.src,M4sse/chromium.src,Jonekee/chromium.src,hgl888/chromium-crosswalk-efl,ondra-novak/chromium.src,M4sse/chromium.src,timopulkkinen/BubbleFish,zcbenz/cefode-chromium,axinging/chromium-crosswalk,krieger-od/nwjs_chromium.src,markYoungH/chromium.src,bright-sparks/chromium-spacewalk,jaruba/chromium.src,TheTypoMaster/chromium-crosswalk,mohamed--abdel-maksoud/chromium.src,hujiajie/pa-chromium,ltilve/chromium,M4sse/chromium.src,Jonekee/chromium.src,zcbenz/cefode-chromium,jaruba/chromium.src,Jonekee/chromium.src,Pluto-tv/chromium-crosswalk,markYoungH/chromium.src,bright-sparks/chromium-spacewalk,zcbenz/cefode-chromium,bright-sparks/chromium-spacewalk,pozdnyakov/chromium-crosswalk,anirudhSK/chromium,chuan9/chromium-crosswalk,mogoweb/chromium-crosswalk,jaruba/chromium.src,pozdnyakov/chromium-crosswalk,chuan9/chromium-crosswalk,TheTypoMaster/chromium-crosswalk,PeterWangIntel/chromium-crosswalk,Chilledheart/chromium,nacl-webkit/chrome_deps,TheTypoMaster/chromium-crosswalk,PeterWangIntel/chromium-crosswalk,jaruba/chromium.src,krieger-od/nwjs_chromium.src,anirudhSK/chromium,junmin-zhu/chromium-rivertrail,crosswalk-project/chromium-crosswalk-efl