Almost formality of manifolds of low dimension