A Lindenstrauss theorem for some classes of multilinear mappings