ovs.db.types: Use toAtomicType() instead of open-coding it.