renderer: fix RE_AddPolysToScene max checks in gl1/gles