array implementation: several small changes

See commit message for a list of changes.

RE mrb_shared_array padding: 16 vs 24 bytes in this case.