Fix header to make it usable by external software.
Update "ifdef __SSE4_1__" to surround the whole function
Add "#ifdef __SSE4_1__" to sao filter.