Fix crash in obs_get_video_info when video_output_get_info returns NULL

video_output_get_info can return NULL, if the input parameter is NULL, obs_get_video_info does not check this and uses the returned pointer, which leads to a crash, if the video could not be initialized correctly.