Revert "ContentProviderRecord: Remove external process reference when finalized"

This reverts commit 1ce10bdba5f3d8bb62f148f9cb9be54d8b2f640c.
Revert "StorageManager: fix android.process.media process stop while plug a discontinuous partitioned SD Card"

This reverts commit 528f467334332549baf5cea2a4a75ad61fb5c46b.