Add documentation for possible segfault in object.h

Expand warning tag in documentation of the ws_object_unref function.