helpers: Remove fromStringValue helper functions except QDate(Time) ones
The functions were exported but never called in the generated code.
Unused exported symbols are an unjustified API promise.
The QDateTime and QDate ones are refactored and kept as static helpers
called from the corresponding fromByteArray overloads. They will also be
called from fromJsonValue(QDate(Time) &) overloads in a follow-up patch.
Pick-to: 6.11
Task-number: QTBUG-145232
Change-Id: I8a784973a5136a558faebb4a0d3ca2ae3a9e8a97
Reviewed-by: Ivan Solovev <ivan.solovev@qt.io>