Fix Date integer overflow bugs
Fix Date integer overflow bugs

Avoid doing tzoffset computations when timevalue is outside Ecmascript
range.  If we don't, some integer overflows happen and some internal
asserts will fail.  This fixes test-bug-date-insane-setyear.js.

Avoid integer overflow in duk__make_day() when year is outside valid
Ecmascript range.  Return NaN directly instead.  This fixes
test-bug-date-setyear-overflow.js.

kphillisjr/duktape,zeropool/duktape,zeropool/duktape,harold-b/duktape,markand/duktape,kphillisjr/duktape,daimajia/duktape,chenyaqiuqiu/duktape,pombredanne/duktape,svaarala/duktape,reqshark/duktape,skomski/duktape,skomski/duktape,thurday/duktape,daimajia/duktape,nivertech/duktape,svaarala/duktape,nivertech/duktape,sloth4413/duktape,zeropool/duktape,skomski/duktape,sloth4413/duktape,haosu1987/duktape,markand/duktape,rwaldron/duktape,thurday/duktape,thurday/duktape,tassmjau/duktape,pombredanne/duktape,daimajia/duktape,kphillisjr/duktape,svaarala/duktape,tassmjau/duktape,haosu1987/duktape,chenyaqiuqiu/duktape,pombredanne/duktape,reqshark/duktape,daimajia/duktape,pombredanne/duktape,svaarala/duktape,zeropool/duktape,skomski/duktape,eddieh/duktape,zeropool/duktape,svaarala/duktape,markand/duktape,harold-b/duktape,reqshark/duktape,haosu1987/duktape,skomski/duktape,tassmjau/duktape,haosu1987/duktape,sloth4413/duktape,jmptrader/duktape,pombredanne/duktape,svaarala/duktape,nivertech/duktape,jmptrader/duktape,reqshark/duktape,haosu1987/duktape,eddieh/duktape,harold-b/duktape,thurday/duktape,kphillisjr/duktape,pombredanne/duktape,rwaldron/duktape,chenyaqiuqiu/duktape,harold-b/duktape,thurday/duktape,haosu1987/duktape,sloth4413/duktape,jmptrader/duktape,thurday/duktape,chenyaqiuqiu/duktape,tassmjau/duktape,sloth4413/duktape,tassmjau/duktape,nivertech/duktape,markand/duktape,haosu1987/duktape,nivertech/duktape,harold-b/duktape,zeropool/duktape,tassmjau/duktape,skomski/duktape,svaarala/duktape,daimajia/duktape,zeropool/duktape,zeropool/duktape,rwaldron/duktape,chenyaqiuqiu/duktape,tassmjau/duktape,zeropool/duktape,haosu1987/duktape,reqshark/duktape,nivertech/duktape,eddieh/duktape,zeropool/duktape,sloth4413/duktape,eddieh/duktape,harold-b/duktape,jmptrader/duktape,sloth4413/duktape,chenyaqiuqiu/duktape,jmptrader/duktape,jmptrader/duktape,sloth4413/duktape,svaarala/duktape,pombredanne/duktape,rwaldron/duktape,rwaldron/duktape,thurday/duktape,nivertech/duktape,chenyaqiuqiu/duktape,sloth4413/duktape,chenyaqiuqiu/duktape,haosu1987/duktape,reqshark/duktape,markand/duktape,kphillisjr/duktape,reqshark/duktape,skomski/duktape,chenyaqiuqiu/duktape,pombredanne/duktape,pombredanne/duktape,nivertech/duktape,markand/duktape,thurday/duktape,tassmjau/duktape,kphillisjr/duktape,jmptrader/duktape,pombredanne/duktape,kphillisjr/duktape,markand/duktape,markand/duktape,eddieh/duktape,markand/duktape,rwaldron/duktape,kphillisjr/duktape,skomski/duktape,reqshark/duktape,eddieh/duktape,skomski/duktape,svaarala/duktape,thurday/duktape,tassmjau/duktape,jmptrader/duktape,harold-b/duktape,skomski/duktape,jmptrader/duktape,chenyaqiuqiu/duktape,nivertech/duktape,reqshark/duktape,sloth4413/duktape,reqshark/duktape,thurday/duktape,harold-b/duktape,harold-b/duktape,haosu1987/duktape,kphillisjr/duktape,markand/duktape,jmptrader/duktape,harold-b/duktape,nivertech/duktape,kphillisjr/duktape,tassmjau/duktape,eddieh/duktape,eddieh/duktape,daimajia/duktape,eddieh/duktape,eddieh/duktape