Btrfs: check return value of ulist_alloc() properly