[PATCH 5.17 0746/1126] clk: qcom: clk-rcg2: Update logic to calculate D value for RCG