osd: refactor the logic of removing the deleted snaps in process_copy_chunk

Signed-off-by: Zhiqiang Wang <zhiqiang.wang@intel.com>