Add second argument to assert()

Fixes #3293 and #3570.
string is not a nullable type

Either declare it as:   `?string $message = null` then take it as a `const Variant&` or declare it as `string $mesage =  ""` and test for `if (message.empty()) {`