[main] Fix RegexFilter NPE when `useRawMsg` is null (#3265 port) (#4152) * Fix RegexFilter NPE when useRawMsg is null (#3265) Avoid NPE when unboxing a null Boolean by using Boolean.TRUE.equals(). Signed-off-by: Vasily Pelikh <2010720+vpelikh@users.noreply.github.com> * Apply spotless formatting --------- Signed-off-by: Vasily Pelikh <2010720+vpelikh@users.noreply.github.com> Co-authored-by: Ramanathan <ramanathanbscmca@gmail.com>