Backport of "gluploadelement: Avoid race condition of inside upload creation." into 1.18
Backport of !913 (merged) "gluploadelement: Avoid race condition of inside upload creation.".
Commits:
- 9e37fa55 gluploadelement: Avoid race condition of inside upload creation.