Optimal Design for Upgrading Optical Amplifier Systems Based on Cost-Effective Homodyne Detection