Check whether creating GPU textures succeeds before using them. However, currently when that happens there is no indication to the user that "hey the resolution is maybe too big". Not sure what is the best way to do that however; e.g. Workbench rendering also does not indicate that in a similar scenario. While at it, add GPU_is_safe_texture_size instead of duplicating the same logic in two places. Pull Request: https://projects.blender.org/blender/blender/pulls/147043