[xorg-x11-drv-nvidia-340xx/f38] Fix the tls library discovery due to changed behaviour in glibc-2.37-1