Cleaned up code, updated libpatches (SBV) and performed some bugfixes:
1. (AKuHAK) Cleaned up code to silence compile-time warnings.
2. Aligned some of the unaligned buffers in SIFRPC.
3. Corrected the specified screen height in the libgs samples (which resulted in some visible garbage at the bottom of the screen), as NTSC is an interlaced video mode.
4. Rewrote libpatches (SBV) to not use the IOP RAM window that resides at 0xBC000000. On the PlayStation 3, this window does not seem to be emulated properly, which suggests that Sony never intended external developers to use it (it appears to be used within its EE kernel, so it might be working under some conditions). The new LMB patch was loosely based on the Sony original.
6. Rewrote libpatches (SBV) to use less memory, by using a common buffer and reading in only whatever that is required.