check_deref_check: get rid of some false positives