Ticket 49240 - ci compiler warns
Bug Description: Fix compiler warnings found in fedora jenkins.
Fix Description: Fix cast from calloc in pblock, fix unsigned
constants, ifdef out some tests, change pointer type to avl
tree.
https://pagure.io/389-ds-base/issue/49240
Author: wibrown
Review by: mreynolds (Thanks!)