Fixed memory leak saving images as webp when webpmux is available