espcoredump: fix a bug where tracked DRAM data were not dumped Closes IDFGH-6498 See merge request espressif/esp-idf!16573