Properly handle the DYLD attach step for GDB remotes.

Change by Stephane Sezer.