PlatformWindow: Add needed support in PlatformWindow.

This patch is cherry picked from ozne-wayland/patches to fix the build error for Tizen.