State cuts could hurt city library