net: Fix data-races around weight_p and dev_weight_[rt]x_bias.