Add a null-check to fix a regression in 4de92b7.
Add a null-check to fix a regression in 4de92b7.

The regression (NRE) occurs if null is passed as the argument to an
attribute constructor taking a type:

    [SomeAttribute (null)]

mono/cecil,joj/cecil