avoid cursor leak in email provider

When cursor is done, the cursor must be closed to avoid cursor leak.

This was merged in AOSP: https://android-review.googlesource.com/#/c/52910/

Change-Id: Iaaffed2c4e90dc4b17ae55fcedb242bf890b3dd5