Determine enum member type correctly

This pull request fixes warning about access on enum members being deferred until runtime.

```php
$reflect= new TypeReflection(XPClass::forName('lang.CommandLine'));
$type= $enum->getField('WINDOWS')->type;     // Now lang.CommandLine, before: var
```