Some PC speaker output fixes
- change beep frequency only if the new counter value is completely written
- turn off beep on exit


git-svn-id: svn://svn.code.sf.net/p/bochs/code/trunk@11714 6c8e4198-a580-4521-a02f-c9ae86df1db9