[bitcoin/bitcoin] Don’t close old debug log file handle prematurely when trying to re-open (on SIGHUP) (#13159)

utACK 37efe5b7ea059e56d8f5170c91e3160db286cad4