zink: make codegen compatible with python 3.5
Fixes: f1432fd3 ("zink: generate extension infrastructure using a python script") Reviewed-by:Erik Faye-Lund <erik.faye-lund@collabora.com> Part-of: <mesa/mesa!12137> (cherry picked from commit 86250c72)