qml.go/internal/goqml: simplify