Generalized Berry phase for a bosonic Bogoliubov system with exceptional points