Spain's housing market posted strong gains in the second quarter of 2025, with average prices climbing to within a fraction of their 2008 peak.