[corlib][ios] Fix 'write' pinvoke declaration to be 64bits safe