Add -restrict option; restrict symbol generation to JSON file

Fixes go-gl/glow#42