On a conjecture of Serre on abelian threefolds