[utils] Add support for zero years and months in parse_duration