Fix DHT modules to work with v65

This fixes the DHT11 and DHT 22 modules to work with Espruino v65. See individual commits for more detail.