pygenum: When getting a member instance, use correct key for the lookup
We were using the value from the introspection info as the key directly, but GEnum uses an int for the value, and the introspection value is a long.
So, values greather than 0x7fffffff were looked up incorrectly.
Fixes #588 (closed).