Support unaligned types in nd.as_numpy() conversion