Western Australians are warned to brace for wild weather from a cyclone off the coast, with preparations under way in the Pilbara.