This seems like an endocrine effect, rather than a chromosomal one.
I'd expect XXY to cause endocrine effects because sex-linked cells are operating with bad genetic info.
This paper suggests that Ibprofen might cause sex-linked cells to misbehave because of chemistry.
It doesn't seem like there is evidence here that Ibprofen would have had an effect on chromosomes. These are two independent causes of sex-linked malformity/endocrine issues, not a case of one causing the other.
In Australia , pregnant women are told not to take ibuprofen unless told by doctor. Paracetamol Is the pain killer suggested, and only if really required.
As far as I can tell, the article linked says that there was a reduction in empathy (for pain) directly after being administered acetaminophen. I'm not seeing anything about long term use.