High stress and job insecurity have many tech executives turning to alcohol and controlled substances to cope, a new survey says.