Clean up compilation warnings from the gnus-registry patches