update vips.rb to 7.40.6

- fix similarity rotate+scale
- fix 16-bit PNG save
- fix vipsthumbnail on many-core systems