Literary obsession will have comedic and tragic implications in Anne Fontaine’s “Gemma Bovery,” which opens May 29 in New York.