Fixed atomic access to flags in sys.execute.

This seems to fix the bug that caused Grbl to hang during some operations,
especially jogging.
Merge pull request #436 from kfoltman/dev

Fixed atomic access to flags in sys.execute.