refactor: Replace RecursiveMutex with Mutex in rpc/server.cpp
Summary:
The functions that could lock this mutex, i.e., SetRPCWarmupStatus(), SetRPCWarmupFinished(), RPCIsInWarmup(), CRPCTable::execute(), do not call itself recursively, and do not call each other either directly or indirectly. Therefore, the g_rpc_warmup_mutex could be a non-recursive mutex.
This is a backport of core#19399
Test Plan: ninja all check-all
Reviewers: #bitcoin_abc, deadalnix
Reviewed By: #bitcoin_abc, deadalnix
Differential Revision: https://reviews.bitcoinabc.org/D9449