Make ShaderGroupBegin command parsing robust to extra semicolons