zdtm/grow_map: fix test failure for clang
zdtm/grow_map: fix test failure for clang

When this code is compiled by clang, it optimizes two byte writes into
one word write, like this:

>        fake_grow_down[0] = 'c';
>        *(fake_grow_down - 1) = 'b';
> 401b60:       66 41 c7 46 ff 62 63    movw   $0x6362,-0x1(%r14)

This is incorrect, as the stack is supposed to grow page by page,
so we need to touch one page then another, i.e. the order is important.

To fix, let's use volatile pointer. After this change, the following
(correct) code is generated:

>        *p-- = 'c';
>   401b60:       41 c6 06 63             movb   $0x63,(%r14)
>        *p = 'b';
>   401b64:       41 c6 46 ff 62          movb   $0x62,-0x1(%r14)

[v2: same fix for another similar place]

Cc: Andrei Vagin <74c05afa918858348d6db8037d82fa8124870113@virtuozzo.com>
Signed-off-by: Kir Kolyshkin <c0159612b0ef32139322233232df1a0d189c4b9b@openvz.org>
Acked-by: Andrei Vagin <74c05afa918858348d6db8037d82fa8124870113@virtuozzo.com>
Signed-off-by: Pavel Emelyanov <c9a32589e048e044184536f7ac71ef92fe82df3e@virtuozzo.com>

eabatalov/criu,eabatalov/criu,eabatalov/criu,eabatalov/criu,eabatalov/criu,eabatalov/criu