libsemanage: add semanage_str_replace() utility function

This function will be used in the next commit.

Signed-off-by: Nicolas Iooss <nicolas.iooss@m4x.org>
3 files changed