PG,OSD: convert write_info users to write_if_dirty

Also, explicitely dirty info and biginfo where necessary.

Signed-off-by: Samuel Just <sam.just@inktank.com>