Apple has released a security update to patch a Beats Studio Buds flaw that let nearby hackers listen to conversations through the microphone.