Don't use a temporary registerfor the dup2 loop counter