Recurrence quantification analysis for detecting dynamical changes in earthquake magnitude time series