If esp_idf_heap is not used, implement calloc through a custom wrapper function on top of malloc to add overflow detection, which is not present in the newlib forks with xtensa support yet.