ensure custom gradle user home is used (also by older gradle wrappers)

+review REVIEW-5166