linux: workaround for radeon/mesa dri driver window recreation problems