stub out rwlock.h and mutex.h headers

Signed-off-by: Edward O'Callaghan <eocallaghan@alterapraxis.com>