x11/nvidia-driver: unbreak the build of nVidia legacy drivers
This partially reverts unapproved commit 010b19127cc8.