broadcom-diag: fix WRT150N/WRT160N detection (patch from #10836)