Fix all gcc warnings in NaCl build.