Comparative Analysis of Proton Directed Flow in Au+Au Collisions at 7.7 GeV: Fixed Target vs. Collider Mode