Nouveau warning fixes

Erik Faye-Lund requested to merge kusma/mesa:nouveau-warning-fixes into master

Here's a couple of fixes for some warnings that popped up in some CI logs.

The latter fix is arguably more than just a warning-fix, but it's not perfect as-is either.

Merge request reports