Update filtering of build log.
- Remove obsolete filter of M4 warning during configure.
- Add filter of compiler warning on dummy variables used
  to suppress other compiler warnings.