On the cofiniteness properties of certain general local cohomology modules