Mass relations of mirror nuclei in terms of Coulomb energies based on relativistic continuum Hartree-Bogoliubov calculations