Fix codegen for polymorphic builtins

Previously, the code generator would generate empty declarations.
Such as
  auto hash;

Now we generate nothing for polymorphic functions with no implementation.