Minor tweak to get_dim_size function
Missed blockref_alloc case in pointer[T]