btrfs: fix potential oops in device_list_add