This is what is known as the Alperovitz thesis; I have written some length on it on another answer here. Short answer: influenced, sure. But that would have been one (minor) motivation among many other motivations to use the bomb on Japan.