sw: try not to include sw/souce/core stuff from sw/source/filter

Change-Id: I21f1de79ed0a6df73afc53d1c93450f9eef23ac6