CASTELL DE VERNET, Sant Martí Vell, S-XI