Improved readability of php_get_display_errors_mode().

There is no behaviour change, and no tests get broken; the logic just seemed needlessly convoluted.

I found it interesting/strange how the only use of this function seems to in `main/main.c:364`, where the result is cast to a `zend_bool` - it seems to only exist to validate the setting.