configure: update thin_check_needs_check logic
If the user has explicitly passed a value for thin_check_needs_check, skip the autodetection logic entirely. Same for cache_check_needs_check.
This allows lvm2 to be built consistently without having thin-provisioning-tools installed.