[PATCH openEuler-1.0-LTS 2/2] Bluetooth: Fix atomicity violation in {min,max}_key_size_set