Threshhold singularities and the magnetic mass in hot QCD