leptonica: explicitly disable deps when requested

cf. #28754.