libX11: added two patches from upstream to fix some issues with en_US.UTF-8 locale.