Rename functions copied from libiberty

Also added a comment explaining why we did this.