Fix gitmkdtemp: correct test for mktemp() return value