egl/haiku: Correct invalid void* conversion in calloc