Spintronic Devices as P-bits for Probabilistic Computing