Oil-modified alkyd type resin based on secondary esters of castor oil