Solaris fixes for std.stdio and std.parallelism

- Use GENERIC_IO
- Use sysconf to determine number of CPUs
(cherry picked from commit 6dcb2179e9b97e0929a97bfa70c4ab7c357df230)

Conflicts:
	std/parallelism.d
	std/stdio.d