Follow CMake conventions(?) on script style

Update formatting of CheckCXX11Features script to follow conventions
used in standard CMake modules:

- Two space indents
- No restatment of condition in else(COND)/endif(COND)
- No spaces between if and opening (

These should be reviewed against any official standards.