Revert "build: enable all compiler warnings"

This reverts commit f75bb7c3379d4398de8ed588a110aa7ab8708a91.

We need to figure out all those warnings before reapplying this patch.