Turn off scalar_check for _th_max, _th_min.
Summary: Pull Request resolved: https://github.com/pytorch/pytorch/pull/29876
Test Plan: Imported from OSS
Differential Revision: D18521737
Pulled By: gchanan
fbshipit-source-id: aeae6959c778eb6d935bcdb8bcf664a7c2404090