dev-libs/libev: rework the patch to less modify upstream code

Signed-off-by: Lan Yixun (dlan) <dennis.yxun@gmail.com>