On D3-brane Potentials in Compactifications with Fluxes and Wrapped D-branes