That's not really ambient occlusion. And it doesn't just happen when he's standing right next to a wall.
Besides AC would cause proper contact shadows with fallow and not uniform shadow effect like in the image.
Anyway, it's just a detail that bothers me because I don't like it when this...