Fix Issue 4733 - Possible bugs caused by dynamic arrays in boolean evaluation context

Turn it into a warning