j3dcore: remove unnecessary casts to WakeupCriterion

Signed-off-by: Harvey Harrison <harvey.harrison@gmail.com>
j3dcore: remove some unused state for locked geometry

Signed-off-by: Harvey Harrison <harvey.harrison@gmail.com>
j3dcore: change to ArrayList in the async error handling code

This is not a high-rate path, so ArrayList should be fine without too many resizes.  Try and
make up for it by allocating an array of sufficient size up front to avoid reflection inside
the toArray method.

Signed-off-by: Harvey Harrison <harvey.harrison@gmail.com>
j3dcore: use Arrays.copyOf instead of clone on an int[]

Signed-off-by: Harvey Harrison <harvey.harrison@gmail.com>