Chemical modeling of methanol as an extragalactic shock tracer