Light-induced magnetic anisotropy in Co-doped garnet films