Output error message when XOpenDisplay() fails

Fixes issue #508.

When the X11 display could not be opened, the application crashed without notice. Now it still crashes (since we don't have any means of reporting the error until SFML 3, see discussion), but the user gets a meaningful error message.