APINotes: constify `dump` methods (NFC) This simply marks the functions as const as they do not mutate the value. This is useful for debugging iterations during development. NFCI. GitOrigin-RevId: 4eaa024863f4a86151beb7971301c6ab10a9de01