Renamed attributeIndices to attributeLocations

To better match WebGL and other parts of the code that were already using `attributeLocations`.