[PATCH openEuler-5.10-LTS 062/109] nexthop: Fix data-races around nexthop_compat_mode.