construct OID object from C pointer