libsensors: update flush() function for new Invensense hal

- Updated due to Motion Apps 5.1.6 Release Candidate 54 on sensors_mpl.cpp
- Avoid data abort on sensor init (on boot progress)

Change-Id: I0e00fbaff60d9605649fd80be192002554043b4d
1 file changed