Man pleads guilty to bomb threat at Tenn. mosque