Social care leaders have warned of the unintended consequences of the budget on North Wales hospitals.