shell: Check for a valid ivi_surface