[PATCH 5.15 612/913] clk: qcom: clk-rcg2: Update logic to calculate D value for RCG