handle missing magic methods in runkit macros

Fixes an obscure segfault (as if there is an other kind when runkit is involved..) taking place when "serialize" and "unserialize" methods are overriden and then reverted back.
I also went ahead and added __callstatic to the bunch of other magic methods already handled by the macro.