Updates on 3.2 branch for NaCl

* update nacl stubs file
* various build fixes to workaround no sgen support
* disable a few more tests
* fix dyncode header