Use C++-style casts for offset arg of glVertexAttribPointer
Clean up fifth arg to glVertexAttribPointer