s3-spoolss: Fixed a possible segfault in winreg_get_printer.