runtime: improve ICDs dependencies binding speed
This patch is similar to the previous commit attempt "runtime: improve ICDs binding speed". But unfortunately it was reverted because by grouping together the ICDs binding we were not able to tell anymore which libraries were for a different word size.
With this commit we keep the ICDs binding separated, as they were before, and instead we only groups together their dependencies.
/cc @smcv
This includes !234 (merged)
I confirm that with this patch we don't have the duplicated ICDs and Vulkan layers. But I was unable to reproduce the crash, so that this was the cause is still just a guess.