Fix gcc spawn support

Don't use inode comparison to determine directory equality, and
don't try to write to /dev/null (can be removed when MG-434 is
fixed).

Change-Id: If62b5fed006b8e10aa5167d8ac45a31e30201c47
1 file changed