GROOVY-5761 - getBytes for GString