Previously we were relying on LD_LIBRARY_PATH to discover driver libraries (libGL, ligGLX, libEGL, OpenCL and Vulkan). This has the problem that setuid programs (in particular VirtualBox) ignore LD_LIBRARY_PATH. Fix it by setting RUNPATH in various dispatch libraries.
This is not needed for libvdpau because it is already configured to look for libraries in the driver paths.
Fixes https://github.com/NixOS/nixpkgs/issues/22760.