Breaking of waves of limiting amplitude over an obstacle