bug fixes in quakeml Amplitude I/O

triggered by a suddenly failing mchedr test (writing to quakeml.
@claudiodsf: beware that anything so far converted from mchedr to
quakeml got stripped of amplitudes during conversion!)