typechecker: remove hhi declarations for not-always-existent functions

Summary: These are only defined when certain macros are.

Reviewed By: @paulbiss

Differential Revision: D1619585