headset fix for ringtones

Fix for ringtones not playing while headset is plugged in. All credits
to Arne Coucheron aka arco for the fix.