autoclose: Fix linking under Win32.

The SCINTILLA macro expands to a function call that is not available to
plugins. The cast is unnecessary and can be removed.