Fix rootfs releasing when not using fakemachine
Apply the upstream fix to force the release of libostree resources from the same goroutine to avoid threading issues preventing the rootfs to be released properly when using the non-fakemachine mode.
Fixes: https://phabricator.apertis.org/T6297
Same as !1 (closed), but for v2019.