Use no-op destroy method on optimized InternalFunctions

Object's destroy method fails on optimized InternalFunction objects, since they don't have a real PropertyList.

Without this fix, the following code fails in `$InternalFunction.destroy` (`engine/object-model/$Object.js:338:25`):

````javascript
var realm = continuum.createRealm();
realm.global.destroy();
````