lib/rwsem.c: Fix Compatibility issues with Linux 3.0.y