Fix getter/setter class transform for multiple passes

If the same class/file is processed multiple times without reloading the
module, the getter/setter name is cached from the previous pass, which
lets the code incorrectly try to access a non-existing property
descriptor.
This fixes it by storing the dictionary of getters and setters in the
state.