Simplify `getPropertyDescriptor`

Do not try to get prototype if we already have descriptor.