posixshm_test: small style fixes
Tested by: pho
(cherry picked from commit f1f030246f3e72af0ee3ba82a0e8b9f6d9559b69)