Implemented ok_vec_shrink_to_fit and fixed a bug in ok_vec_resize