m_cgiirc Call User::InvalidateCache() after changing host and dhost in OnCheckReady()
Do not export callers

Their functions are all inlined and Windows errors
Fix m_permchannels and m_xline_db on Windows

The call to remove() can fail if the database doesn't already exist. Just
ignore the error, which effectively makes the rename() call below work as
it does on nix