Disable the bin writer on osx, it only works with xdebug, but the AOT compiler tries to use it as well.
[jit] Fix memory leaks in get_gsharedvt_type (). Fixes #16787.