MEMA Runtime Framework: Minimizing External Memory Accesses for TinyML on Microcontrollers