GrammaMT: Improving Machine Translation with Grammar-Informed In-Context Learning