Removed empty and redundant CompWindow::syncPosition () function
and all calls to it.
Also removed some associated variables not needed anymore.
(LP: #1160624). Fixes: https://bugs.launchpad.net/bugs/1160624.
Approved by PS Jenkins bot, Sam Spilsbury.