Replace all remaining occurrences of AVERROR_NOMEM with