shadertool.py: Treat defined by unused constants as taken

Just in case we defined a constant we aren't using to avoid
re-declaration errors.