Add -restrict option; restrict symbol generation to JSON file

Fixes go-gl/glow#42
nit: prefer `map[string]bool` 'cause I think that is a more idiomatic way of representing a set