dri/nouveau: Fix build with --enable-shared-dricore.