[sanitizer] move write/pwrite/pwrite64 interceptors to common