st/dri: fix crash when dri2_drawable_get_buffers fails