Bugfix: function not defined in non-ZTS mode, wrong arguments

The php_libsmbclient_init_globals function was not defined when compiled
without ZTS, which caused a compile error. Also, the argument passed was
wrong, since the function expects a pointer.