JOGL: add core profile batched renderer support
fix core profile GL extension check so that no silly GL error appears