[PATCH] Fix MADV_REMOVE protection checking