Bug 1053269 - Null-check for ownerDoc OpenDatabaseHelper.cpp, r=ehsan