Fixed annotations in ArrayHelper to make them portable

Signed-off-by: Oleg Nenashev <o.v.nenashev@gmail.com>