#endif missing in rwlock.h added

Signed-off-by: Lokesh Mandvekar <lsm5@buffalo.edu>