Fix cpplint errors for state_machine.[cc|h]

Change-Id: I7f29c87ba1dd9f4c97fb79475dfd06ae5b9fa680
Merge "Fix cpplint errors for state_machine.[cc|h]"