Estimation of the Gutenberg-Richter relation allowing for individual earthquake magnitude uncertainties