software/liblitesdcard: move fat16 code to separate file to avoid duplication.