Mesonic contribution to the Compton scattering amplitude for heavy nuclei