server: register grpc service before starting the server
server: register grpc service before starting the server

The reverse order is inherently racy.

Fixes #10879.

vaibhavarora/cockroach,vaibhavarora/cockroach,vaibhavarora/cockroach,veteranlu/cockroach,petermattis/cockroach,veteranlu/cockroach,paperstreet/cockroach,glycerine/cockroach,veteranlu/cockroach,vaibhavarora/cockroach,petermattis/cockroach,petermattis/cockroach,glycerine/cockroach,veteranlu/cockroach,paperstreet/cockroach,maxlang/cockroach,veteranlu/cockroach,maxlang/cockroach,glycerine/cockroach,vaibhavarora/cockroach,glycerine/cockroach,petermattis/cockroach,paperstreet/cockroach,paperstreet/cockroach,maxlang/cockroach,paperstreet/cockroach,glycerine/cockroach,petermattis/cockroach,vaibhavarora/cockroach,maxlang/cockroach,petermattis/cockroach,vaibhavarora/cockroach,glycerine/cockroach,petermattis/cockroach,paperstreet/cockroach,glycerine/cockroach,paperstreet/cockroach,paperstreet/cockroach,veteranlu/cockroach,maxlang/cockroach,maxlang/cockroach,maxlang/cockroach,veteranlu/cockroach,maxlang/cockroach,glycerine/cockroach,veteranlu/cockroach,vaibhavarora/cockroach,petermattis/cockroach