Refactor: libs: Apply coccinelle fixes.
These just use pcmk__str_null_matches in a few places that it would apply.