fix special casing of dim for st

Previous commit ended up setting bold instead of dim for terminals that
support it.