Appeals court upholds deal allowing kids’ images in Facebook ads