Text this: Hardware/Software Co-Design Optimization for Training Recurrent Neural Networks at the Edge