InspIRCd: fix various audit warnings.

Closes #35344.

Signed-off-by: Mike McQuaid <mike@mikemcquaid.com>