fix trivial compile problems caused by mesa update

Signed-off-by: Christian Gmeiner <christian.gmeiner@gmail.com>