Unref a Scanner.
If the reference count drops to zero, the scanner is freed.
A Scanner created by Scanner.file or Scanner.string