Reject casts to unsized types and suggest use of reference or box

This prevents ICEs or less helpful diagnostics if typeck proceeds
further.  Closes issue #17441
Add regression test for issue #17441