rwlock_types.h added and raw_spinlock_t def added

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