Remove unused vlc_object_wait()