Enter about:config in the location bar. Search for the preference browser.urlbar.clickSelectsAll. Modify the value to false.
Double clicking on the URL will still select the entire URL for you.