nickserv: Replace usage of defaultdict with new SafeDefaultDict