Revert "rstp: Remove bit shifts from rstp states."

This reverts commit c88b3f8aacca08370a19e9dc46ab4107f76514d6.