spl: fit: Prefer a malloc()'d buffer for loading images