Mattel’s Ynon Kreiz will leave the toy maker for a senior role at the merged Paramount-Warner Bros., which still needs final court approval.