[PATCH 5.10 402/599] clk: qcom: clk-rcg2: Update logic to calculate D value for RCG