Silence static analyzer warning for BXVector

The static analyzer was complaining about a C style cast casting
away const on an integral value. Although this case was harmless
since the value was only read, the cast was changed to a static_cast.
Merge pull request #5369 from Dr15Jones/staticAnalyzerFixDataFormatsL1Trigger

Silence static analyzer warning for BXVector