btrfs: unify handling of return values of btrfs_insert_empty_items()