Gamma-ray burst detection with the AGILE mini-calorimeter