Add an $out_no_ext variable.

This is the same as $out, but strips off the extension.
Useful for the case where a compiler doesn't allow
specifying the name of the .d to be $out.d.