test_shm_mq: Try again to fix compiler warning.

Per complaints from Andres Freund and Tom Lane.