fix an invalid DynamicObject* cast
fix an invalid DynamicObject* cast

Scope objects are not always "DynamicObject"s (e.g. may be of type
"WithScopeObject"). Use RecyclerObject instead.

Microsoft/ChakraCore,mrkmarron/ChakraCore,mrkmarron/ChakraCore,Microsoft/ChakraCore,Microsoft/ChakraCore,mrkmarron/ChakraCore,mrkmarron/ChakraCore,Microsoft/ChakraCore,Microsoft/ChakraCore,mrkmarron/ChakraCore,mrkmarron/ChakraCore,mrkmarron/ChakraCore,Microsoft/ChakraCore