Convert all files to Unix format
Optimize watchdog use

Use more inline functions and make the WDSV calculation in compile time
instead of runtime if it is a compile time constant as it is in most
cases.
Move watchdog functions to make them inlines
Optimize watchdog get and set wdsv count

Make them inline as well since they are run inside the main paths and
inlined take only two simple loads from a constant instead of a function
call and working off of variables.