Avoid querying the db during getoriginalMediaFormatFileDescriptor am: e3fcc67640 am: 26311883cb

Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/providers/MediaProvider/+/14734535

Change-Id: I5c67532811668f400cdfe3cc3e9b7dbebdb5903c