m4/cxx11.m4: add CXX11_LAMBDA and CXX11_LAMBDA_CAPTURE; fix CXX11_REQUIRE_STD_END