Fix late registrations: riak_api_pb_server is no longer a gen_server

Use `gen_fsm:send_all_state_event/2` instead of `gen_server:cast/2`.