[toolforge-weld] refactor parse_quantity
- extract
base**exponent
operations to
VALID_KUBE_QUANT_SUFFIXES
so other packages
importingtoolforge-weld
can use this - general function simplification
Bug: T361120
Signed-off-by: raymond-ndibe rndibe@wikimedia.org