radv: Add WSI buffers to BO list only if they can be used.

Also reverse the BO list removal loop. This way typical WSI usage
should find the entry in O(active swapchains) iterations, which
should not be a performance issues. Tested with Doom(2106) which
found the entry in 1 iteration every time.

Acked-by: Jason Ekstrand <jason@jlekstrand.net>
Reviewed-by: Samuel Pitoiset <samuel.pitoiset@gmail.com>
Part-of: <mesa/mesa!4306>
24 jobs for !4306 with wsi-implicit-sync-liveness in 10 minutes and 35 seconds (queued for 7 seconds)
detached
Status Job ID Name Coverage
  Container
passed #2460290
aarch64
arm_build

00:00:19

passed #2460292
aarch64
arm_test

00:00:21

passed #2460294
windows shell 1809 mesa
windows_build_vs2019

00:00:10

passed #2460283
x86_build

00:00:23

passed #2460288
x86_build_old

00:00:17

passed #2460285
x86_test-gl

00:00:22

passed #2460287
x86_test-vk

00:00:18

 
  Meson X86 64
passed #2460301
meson-clang

00:08:29

passed #2460300
meson-classic

00:03:40

passed #2460303
meson-clover

00:07:52

passed #2460305
meson-clover-old-llvm

00:04:52

passed #2460298
meson-gallium

00:10:09

passed #2460296
meson-testing

00:07:24

passed #2460306
meson-vulkan

00:06:06

 
  Scons
passed #2460308
scons-win64

00:05:07

 
  Meson Misc
passed #2460312
aarch64
meson-arm64

00:05:18

passed #2460314
aarch64
meson-arm64-build-test

00:05:40

passed #2460310
aarch64
meson-armhf

00:07:02

passed #2460318
meson-i386

00:03:41

passed #2460323
meson-mingw32-x86_64

00:04:57

passed #2460322
kvm
meson-ppc64el

00:06:13

passed #2460320
kvm
meson-s390x

00:06:04

passed #2460316
windows docker 1809 mesa
meson-windows-vs2019

00:05:54

 
  Radv
passed #2460325
radv-fossils

00:00:44