[cpp] Add Pointer.fromHandle