Fix for Added screen orientation handling in xcb plugin.

Change-Id: I458f3974b3b1b11e9078f4881cfd03f3158707d7
Reviewed-by: Philippe Coval <rzr@gna.org>
Reviewed-by: Tomasz Olszak <olszak.tomasz@gmail.com>