Destroy attached objects before destroying the queue
Reorganizes the wayland::surface's member variables in a way that the objects attached to the queue are destroyed before the queue.
Signed-off-by: Iason Paraskevopoulos iason.paraskevopoulos@arm.com Change-Id: Ifbc3f285005ae01b0cc75d2827e424db58c392e1