Algebraic Curve for the SO(6) Sector of AdS/CFT