Eliminate goto in compute_repo_size of size-sched.c

goto is a bad practice for C programming and source of bugs.

eliminate it if there is any good replacement.