Writers Guild of America says it will work to stop Paramount from buying Warner Bros.