sleuthkit: apply upstream build fix

Fixes #32340.