Citric acid as a pH-modifying additive in an extended release pellet formulation containing a weakly basic drug