Calling bson_empty and then bson_destroy attempts to free memory it shouldn't

It should be legal to call bson_destroy after bson_empty, but currently isn't. Since we essentially own the shared static data, just check before we invoke bson_free.

Conflicts:
	src/bson.c