ploop_check(): fix flags handling.

This is a fix to commit 805fffa. I swear I was not drunk.

Signed-off-by: Kir Kolyshkin <kir@openvz.org>