intel/aub_viewer: fix access to freed memory
Windows closed while we're displaying them might lead to invalid memory accessed, so use the safe iterators on the list of windows.
Signed-off-by: Lionel Landwerlin lionel.g.landwerlin@intel.com Reviewed-by: Tapani Pälli tapani.palli@intel.com