[qtwayland] Make sure the wl_buffer wasn't deleted