When lock-pe or lock-uki read from stdin, copy non-regular input to a seekable temporary fd before hashing it. Fixes #42893. Signed-off-by: dongshengyuan <dongshengyuan@uniontech.com>