A record number of animals were abandoned in North Yorkshire in 2024, the RSPCA has revealed.