Fixed #4566: Move LayerGradient's init functions into CC_CONSTRUCTOR_ACCESS section