Update IDBObjectStore.js

Check if primary key is undefined, instead of just (!primaryKey), as if a primary key is 0 we would still want to continue with the callback and not get the next auto-increment key.

https://github.com/axemclion/IndexedDBShim/issues/142