Semiclassical analysis of tunneling through a smooth potential barrier and localized states in graphene monolayer with mass gap