dsound: Validate format in primary buffer's SetFormat().