svq1enc: reduce stack usage of recursively-called function.