build: Fix dependency tracking.

Submitted by: aji
doc/IRCD: Remove entries for discontinued protocol modules.