Corrected CTRunGetPositionsPtr usage

CTRunGetPositionsPtr can return a NULL result. This correction handles
that result, copying positions using CTRunGetPositions.