Binary API: Added validation check for BSON ObjectID in object reference.

See previous commit 9ca5f9e - add another check when determining if an
item contains references to stored binary data.