A mass estimate of an intermediate-mass black hole in omega Centauri