Track nested memory used by `xcm::DoubleEncoded`: approach #2 (#11147)