i2c: Use put_user instead of copy_to_user where possible