Temporary patches to build ozone-wayland with chromium.

Original CLs:
https://codereview.chromium.org/44113004/
https://codereview.chromium.org/47073002/
https://codereview.chromium.org/34593002/

I have put the patches (copy paste from above urls) here
temporarily, to make it easy for anyone compiling ozone-wayland.
All credits are for original Authors.