Utility maximization with current utility on the wealth: regularity of solutions to the HJB equation