Haiku has a strict superset of BeOS errno values; support both.