Fixed PHP-1088: CID-10700: Explicit null dereferenced
Merge pull request #693 from bjori/PHP-1088-gridfs-coverity

Fixed PHP-1088: CID-10700: Explicit null dereferenced

* bjori/PHP-1088-gridfs-coverity:
  Fixed PHP-1088: CID-10700: Explicit null dereferenced