OfficeMax profit edges up in Q3 amid declining sales