Surface effect in antiferromagnetic Ba6Mn24O48 nanoribbons