Backport of "gstpluginloader: Don't hang on short reads/writes" into 1.20
requested to merge tpm/gstreamer:backport-mr-2964-into-1.20-martin-fix-gstpluginloader-hang into 1.20
Backport of !2964 (merged) "gstpluginloader: Don't hang on short reads/writes".
Commits:
- 57457913 gstpluginloader: Don't hang on short reads/writes