[PATCH 5.16 0677/1017] clk: qcom: clk-rcg2: Update logic to calculate D value for RCG