Spin polarization in 16O-induced heavy-ion reactions