testsuite/gsk/transform: Compare enum members using g_assert_cmpint()
This way, if the assertion fails, the error message will tell us the expected and actual values.
Helps: #7245
This way, if the assertion fails, the error message will tell us the expected and actual values.
Helps: #7245