[MTD] sharpsl-flash: Correct error paths