Add missing EIGEN_DEVICE_FUNC in a few places when called by asserts.
Also removed an old gcc 4.7 workaround which is UB anyways, silenced some pedantic warnings when internal asserts are enabled, and added a missing inline specifier.
Also removed an old gcc 4.7 workaround which is UB anyways, silenced some pedantic warnings when internal asserts are enabled, and added a missing inline specifier.