Thick brane structures in generalized hybrid metric-Palatini gravity