Role of a fractal shape of the inclusions on acoustic attenuation in a nanocomposite