Implement nativecall write barriers.