build: Disable a couple more ineffective warnings.