[peripherals] fixed CPeripheral::operator ==(const PeripheralScanResult& right)