Only run dsymutil on OSX in debug builds

When there are no debug symbols generated, then the program just prints an
annoying warning otherwise.

Closes #10198
auto merge of #10198 : alexcrichton/rust/darwin-quiet, r=jdm

Instead of running dsymutil for all builds, this changes it to only run the program for debug builds.

Closes #3495