Mr. O’Malley, the former governor of Maryland, showed up at the epicenter of the riots that have seized the city that he led for two terms as mayor.