Only force G and M codes toUpper https://reprap.org/wiki/G-code#Case_sensitivity
Signed-off-by: Chris Rizzitello <rizzitello@kde.org>