Refactor: libcrmcommon: Functionize parsing units in pcmk__parse_ms()
This also avoids logging that the value will be clipped if we were going
to end up returning pcmk_rc_bad_input later due to invalid units.
Signed-off-by: Reid Wahl <nrwahl@protonmail.com>