Fixing issues found by coverity

Merged Illia Abernikhin requested to merge GL/mesa:coverity_fixes into main

Merge request reports