IndexedDB: Fix abort-in-initial-upgradeneeded assertions

Spec says: "result ... is undefined when the request resulted in an error." But the test is asserting that the result is non-null after an error. The test currently fails both in Firefox and Chrome M37+. With this change, the test passes.