static_array: Fixed compilation problems.
static_array: Fixed compilation problems.

- template argument mismatch: std::size_t vs. int
- Incomplete refactor: it.ptr -> it.ptr_

Reported-by: sf.net user smaginka via https://sourceforge.net/p/viennagrid/discussion/general/thread/82b0be0d/

viennagrid/viennagrid-dev,viennagrid/viennagrid-dev,viennagrid/viennagrid-dev