Btrfs: add ioctl to get and reset the device stats