AMC gives up gains after quarterly results, film release deal