[3.3.x] media library service: try to recover gracefully on init failure
Most of the media library service init failures are caused by incompatible media library database versions notably due to downgrading from a future release.
Instead of crashing on launch until the app is deleted by the user along with its app context and reinstalled, try to delete the database once to recover.
(cherry picked from commit ece2ab2f, backport of !717 (merged))