dmd: use full path of executable

Closes #29419.

Signed-off-by: Adam Vandenberg <flangy@gmail.com>