fix model_of on aligned_array
layout checks for value_type