Fix possible stack overflows in interpret.c