If an attacking creature has a "Whenever this creature attacks" ability, that ability is put on the stack first, then Kazuul's ability is put on the stack. Although Kazuul's ability will resolve first, and potentially create an Ogre token, any target of the other ability will already have been chosen at this point, and thus could not have been the new Ogre token.