CheerpFrontend: Add special support for realloc