[PATCH 5.4 240/475] clk: qcom: clk-rcg2: Update logic to calculate D value for RCG