hostlua emulator - fix get_day_seconds from waterwingz in http://chdk.setepontos.com/index.php?topic=650.msg100140#msg100140