H 1 versus C 1 local minimizers on manifolds