iter: implement bson_iter_as_bool().
iter: implement bson_iter_as_int64().