mesa: add helper to validate tokenise shader include path