AMPK links germline integrity and developmental plasticity through small RNA regulation