Add gs_device_name function

This returns the name of the device, "Direct3D 11" or "OpenGL"
respectively.