libsyntax: no inheritance with tuple/unit structs

Stops parsing inheritance with tuple structs and unit-like structs to fix #15096.