Spin-wave storage using chirped control fields in atomic frequency comb-based quantum memory