Fix parsing of UDF body

patch by snazy; reviewed by slebresne for CASSANDRA-7740