RIOT: fix memarray use

This change fixes the invocation of the MEMARRAY macro and
memarray_init() to conform with the proposed API in [1].

[1] https://github.com/RIOT-OS/RIOT/pull/7651/

Change-Id: Iaede8ac17dfef758e54cd4072d58212c64ca4b08
4 files changed