Speed up more token membership tests
Speed up more token membership tests

Similar change to commit 4b23936 ("Speed up some token tests"), just for
more tests.

This especially helps for the "not a property line" case in
_parse_properties(), which checks against all the cases.

Saves 2-3% of parsing time together with the earlier change.

ulfalizer/Kconfiglib,ulfalizer/Kconfiglib