src: fix VC++ warning C4244

Changed usage of v8::Value::InterValue (i.e uint64_t) to Int32Value
fixing VC++ warning C4244.