Fix for Android when calling the shimIndexedDB.useShim method

Use Object.defineProperty when the assignment fails.