Fix crash when failing to evaluate a defined type.
Fix crash when failing to evaluate a defined type.

Missing assignment to the "current" resource being evaluated in
`context::evaluate_defined_types`.  This resulted in a segfault if the defined
type failed to evaluate.

The fix is to properly assign the "current" pointer when evaluating a defined
type.

peterhuene/puppetcpp