EROIC: a BiCMOS pseudo-gaussian shaping amplifier for high-resolution X-ray spectroscopy