Added a small test function to the H5FD code that determines if a VFD
supports SWMR (based on the environment variable). This is only for use
in the SWMR tests.

Also modified test/test_swmr.c to use it.

Tested on: jam with multiple VFDs