[corlib] Add few checks for array boxing conversion of pointer types