Only use 'pragma once' when supported.

The checks were removed in 42e7d7bbb3c2b0994169b2d02b9e6767db90b08a. This is a little better as most compilers support it nowadays.