fixed a bug on cached attributes

git-svn-id: https://foundry.supelec.fr/svn/luatex/trunk@5106 0b2b3880-5936-4365-a048-eb17d2e5a6bf