ike-sa-manager: Safely access the RNG instance with an rwlock