Fermi/GBM observations of the ultra-long GRB 091024 A burst with an optical flash