check_memory - fix the pgmajfault counter

Signed-off-by: Davide Madrisan <davide.madrisan@gmail.com>