Fixes #50995.
A(n otherwise unexercised) code path related to trying to model "array-to-pointer decay" resulted in a null pointer dereference crash when parameters of type "reference to array" are encountered.
The aforementioned code path is not needed, as cases when arrays can decay are already handled by the main function of the modelling routine when desugaring the DecayedType.
Can you also add a test case like: