Added type check to UndefinedEndian
* as both LittleEndian and BigEndian member template methods are limited to integral types this check should also be enforced for UndefinedEndian to match the supported types