Lewis Hamilton has admitted it was "a relief" to discover after his poor performance at the Spanish Grand Prix than he had been "massively" hindered by a technical issue with his Ferrari.