A witness on the train where Jean Charles de Menezes died tells an inquest police marksmen appeared panicked before the shooting.