After discussion with Alex I've put both patches into the xfsdump-dev repository. I've taken the final version each, with the description of the initial posting.