libcore: provide instances from Crypto provider if targetting SDK <= 23

The provider is not installed but we provide instances anyway in order
to avoid breaking app compatibility. Only for apps whose target
SDK version is at most 23 (M).

(cherry picked from commit 5df38d1ae2e3615430ff6fe476b9cea9e6177bb1)

Bug: 28550092
Change-Id: I2038733b0911191a06a36386edf6d09b89693da3
9 files changed