produce better error when compiling binary

This fix issue #2449.

Now following code:
```
"\"" <> value <> "\"" = "\"abc\"" 
```
Raises:
```
** (UnsizedBinaryAtEndError) unsized binary cannot be at the end of patterns
```