remote.c: make free_ref(), parse_push_refspec() and free_refspecs() static.