HHVMm proxy generator compatibility with callable type hints

This PR solves the last HHVM compatibility issues, effectively making `doctrine/common` compatible with HHVM, thus not allowed to fail in HHVM context anymore.