Garbage collector: Release locks on temporary root files

This allows processes waiting for such locks to proceed during the
trash deletion phase of the garbage collector.