add serial types for OpenBSD
(cherry picked from commit a439dc4)