Hurricane Irma weakened slightly on Saturday as it battered Cuba's northern coast.