desktop-shell: Avoid retrieving output's width/height if none present
As in some circumstances there could be no output connected, avoid retrieving the width/height of the output if none was found/connected.
Fixes: #384 (closed)
Signed-off-by: Marius Vlad marius.vlad@collabora.com