Port flexible array members to GCC + valgrind