Nonadiabatic detection of the geometric phase of the macroscopic quantum state with a symmetric SQUID