oicc: only rewrite header files if they've really changed