We have also experienced this issue and have implemented a workaround. I have documented the solution in this repository: https://github.com/Matdata-eu/jena-riot-literal-as-subject-issue-workaround
In summary: use a python script with rdflib to filter the triples that have a literal as subject.