Add a check for -XDataKinds when parsing a `data type` declaration