OSD: batch trim for pg_log

Signed-off-by: Xinze Chi <xmdxcxz@gmail.com>