Text this: Count Loss Evaluation for Accuracy Enhancement of a FPGA-Based Gamma Spectroscopy