Add gfx_shader_resolve_relative.

Translates relative paths (from CGP) into absolute paths,
suitable for loading files, and saving cgp some place else.