Surface acoustic attenuation due to surface spin wave in ferro‐ and antiferromagnets