dri3: fix compilation

Signed-off-by: David Heidelberger <david.heidelberger@ixit.cz>