use _array_size for mean; remove a user attribute
use _array_size for mean; remove a user attribute

the max block size for optimizer is reduced back to 2^9 due to https://github.com/cupy/cupy/pull/3244#discussion_r435475481

cupy/cupy,cupy/cupy,cupy/cupy,cupy/cupy