compositor.cpp: Make it compatible with qtwayland-5.3.0

Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>