Convert rwlock test to URT_GLUE

Signed-off-by: Shahbaz Youssefi <ShabbyX@gmail.com>
Add count of TARGET2

Signed-off-by: Shahbaz Youssefi <ShabbyX@gmail.com>