[FIX] Prevent setting of __nextSuper on frozen objects

This fixes #5324

If the object is frozen we should not modify it.  This includes the setting of `__nextSuper` which is used by `_super`.