tests/sys/posixshm/posixshm_test.c: Fix build for real
Remove unused variables. This is a direct commit to stable/13.