heap: adjust the order of RTC memory heap caps and regions(backport v4.4) See merge request espressif/esp-idf!16704