video-sink: don't use strings that can be freed in shader cache

Patch by Vladimir Caruntu
video-sink: unref material template in dispose