util: clang build fixes

Jonathan Gray requested to merge jsg/mesa:clang-build-fixes into main

A few small patches to fix the build of Mesa when building with clang 10 on OpenBSD on various architectures. Some other pending OpenBSD specific build fixes are in a different merge request.

Edited by Jonathan Gray

Merge request reports