In syntax tests, amend `skip` directives to carry the reason for skipping

In `syntax_test.rb`, I have decorated the `skip` directives with the reason for skipping.

This might help debug issues like the failing Travis build in PR #7895.