Add header guards to array.h

Add header guards (`#ifndef`/`#define`) to `hemi/array.h` to prevent double-inclusion.