DataFlash: move log reading logic into common library
Copter: use common log reading function
Plane: use common log reading function
Rover: use common log reading function