**Describe the unexpected behaviour**
If Null being passed as dictionary key, dictGetOrDefault returns null instead of default value.

**How to reproduce**
Clickhouse version 21.5, 21.1, 20.8

```

CREATE VIEW dict_null_source AS SELECT 1 as key, 1 as val;
CREATE DICTIONARY dict_null (key UInt64, val UInt32) PRIMARY KEY key SOURCE(CLICKHOUSE(host 'localhost' user 'default' table 'dict_null_source' ))LAYOUT(FLAT)LIFETIME(300)


SELECT dictGetOrDefault('default.dict_null', 'val', CAST(NULL, 'Nullable(UInt64)'), 0) AS val

Query id: 79518a8e-b439-4d08-a0b2-85e4b3ef99eb

┌──val─┐
│ ᴺᵁᴸᴸ │
└──────┘
```

**Additional context**
```

SELECT dictGetOrDefault('default.dict_null', 'val', CAST(1, 'UInt64'))

Query id: 71ec76a1-fb61-4641-9145-79c6bfffd490


0 rows in set. Elapsed: 0.001 sec.

Received exception from server (version 21.5.1):
Code: 42. DB::Exception: Received from localhost:9000. DB::Exception: Wrong argument count for function dictGetOrDefault: While processing dictGetOrDefault('default.dict_null', 'val', CAST(1, 'UInt64')).

```

Error message in 21.1 was better:  `Number of arguments for function dictGetOrDefault doesn't match: passed 3, should be 4:`

#include <Interpreters/castColumn.h>
#include <Functions/IFunctionImpl.h>
#include <Functions/FunctionHelpers.h>
#include <ext/range.h>
#include <type_traits>
namespace DB
{
namespace ErrorCodes
{
    extern const int ILLEGAL_TYPE_OF_ARGUMENT;
    extern const int UNSUPPORTED_METHOD;
    extern const int NUMBER_OF_ARGUMENTS_DOESNT_MATCH;
    extern const int ILLEGAL_COLUMN;
    extern const int BAD_ARGUMENTS;
    extern const int TYPE_MISMATCH;
}
/** Functions that use plug-ins (external) dictionaries_loader.
  *
  * Get the value of the attribute of the specified type.
  *     dictGetType(dictionary, attribute, id),
  *         Type - placeholder for the type name, any numeric and string types are currently supported.
  *        The type must match the actual attribute type with which it was declared in the dictionary structure.
  *
  * Get an array of identifiers, consisting of the source and parents chain.
  *  dictGetHierarchy(dictionary, id).
  *
  * Is the first identifier the child of the second.
  *  dictIsIn(dictionary, child_id, parent_id).
  */
class FunctionDictHelper