[app][aboot] use ARRAY_SIZE macro