Batch Renderer (LWJGL/JOGL): Fix potential crash render empty batches

This was first discovered and fixed by 3xp0n3nt for the
LwjglBatchRenderBackend but the same issue exists for the CoreProfile
renderers as well as the Jogl Batch-Implementations. This commit fixes
these potential problems as well.