Update FdToString impl behind flag

Migrate FdToString to new impl to fix timeout issues.

Test: Verify historical thread dump with flag enabled
Bug: 306283018
Change-Id: Ic8f34e407dbbbcb6bb0070aedbdee74b768fbce1
1 file changed