try to make vips_thread_shutdown() optional

see

https://github.com/jcupitt/ruby-vips/issues/55

it's still better to call vips_thread_shutdown(), but not calling it
should no longer leak memory
Merge branch '7.40'