counters: fix cache alignment issues

this introduces a variant of aligned_padded_elem/percore which is not
pedantic- we only enable non-assertion checking for counters (which we
don't really care about, and I don't want to go annotate all of them in
the code base)