Spontaneous emission of an atom near an oscillating mirror