Refactor: libcrmcommon: flags argument for pcmk__xml_update()
So that we can control whether to treat attribute values as scores.
Keep the as_diff argument, since it's for v1 patchsets (deprecated)
anyway and we still need to account for ordering. We can drop it later.
Signed-off-by: Reid Wahl <nrwahl@protonmail.com>