removing osd/patch.h (and cleaning up attending dependencies)