SCP: Fix to have sim_printf expand newlines to CRLF when writing to stdout with the simulator running. Allow sim_debug to be called with a NULL device pointer and return producing no output.
SCP: Added sim_set_fsize and sim_set_fsizeo to sim_fio to support specific expanding or truncation of files.