For GPT-4 as with Humans: Information Structure Predicts Acceptability of Long-Distance Dependencies