Refactor: crmd,pengine: make coverity happy
realloc_safe() now frees the original pointer before aborting, otherwise no real effect