Galliani: 'Allegri is safe'