Just soak it in some fuel and check the bearings after. My experience is that there is usually no rust when covered in castor varnish as this appears to be. But not always. Most likely the bearings will be fine after dissolving the dried castor oil and varnish. Anti freeze would work also but be sure it is well oiled after flushing it out.