wineps.drv: Set the line join and cap styles based on the selected pen.