Removed goto uses in SDCardUtil.cpp, instead moving it into a function

meh. I'm not really sure if I like this. If anything, this should also be a lambda. Seems odd to have error handling in a separate function just to avoid using `goto`. I'll let other people decide what to do here.