M87 black hole mass and spin estimate through the position of the jet boundary shape break